LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED-UPDATE] New Install - Issue Persists - Accessing NAS Share - "Read Only"
#1
Hi,

This is a new thread from:
https://www.freecinema2022.gq/forums/index...50#msg3050

Using the following in fstab which maps to folder in Home allows access to NAS share, but owner is now root, and therefore Read Only for me:
Code:
# WD NAS1 Shared
//wd-nas1/shared /home/dave/wdshared cifs users,credentials=/home/dave/.creds,workgroup=homenet,ip=10.10.10.10 0 0

So using the fstab method above seems to turn the folder to root user, and then it's RO for me.
If I navigate through Thunar, Browse network to the very same location everything works fine.

Update 1,
To verify the issue I rem'd out the above entry in fstab
The directory in Home returned to my ownership, and the CIF errors are no longer present in dmesg log file.
It seems like the above fstab entry changes owner to root, and creates CIF erorrs.??

Update 2,
Unfortunately things have got worse.!, I have now removed all previous changes regarding NAS Share Mount, now back to original state.??
But I now have a completely new situation, I'm able to browse to "any" NAS & Windows Share location, and see the contents, however if I:
1. Try to open a file, it is blank and "untitled"
2. I right click try to say create a text file "Test.txt", the file appears, try to open, it opens "untitled".
3. I right click on on any file on any share, it say's it owned by root., same files open from windows fine.

Any guidance/help appreciated before I have to do a re-install

Many Thanks... Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#2
Hello All,

I forgot..
If I just update the message it does not move up the list...
Sorry for the unorthodox bump

Thanks.. David
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#3
Hi,

Thought I would try one last time before having to do a fresh install.
Any thoughts, suggestions or ideas..??

Thanks
Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#4
Hi All,

Complete fresh standard install/set-up, still have same issue editing "to" files on either NAS or Windows shares from LL.
The windows share is set for "Anybody" full R/W, and I have a user set-up on NAS same as LL Username/Password.
If I try from Laptop with Zorin to do the same, it works fine, I can open/edit a test text file on the NAS, on LL is does not open to edit.

Can Open & Edit file from Zorin
[Image: eKhx3hk.png]

Unable to open/edit from LL, just opens "untitled", owned by "root"
[Image: rAGEzJW.png]


So it appears from LL I can:
Browse shares, Play Media, Copy to shares(I got these screenshots across via copy to a windows share), I can create a text file.
But then I'm then unable to open and edit files from LL.
It is like everything is being created as "root", but then being actioned as my normal linux user dave appears R/O.??

Any ideas please...
Being unable to edit/write to NAS/Windows shares from LL is a bit of a show stopper
I've come so far with LL it would be a pity to have move to another distro because of this

Thanks... Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#5
Hi,

To add a twist to this...
LL 1.0.8 in a VM works fine accessing the NAS and Windows Shares with full Read/Write access
So the issue seems to be with my LL2.0 install

I don't know enough to say for sure if my sysmptons are the same.?
.. but googling finds quite a few NAS/Share related issues related to 14.04
https://bugs.launchpad.net/ubuntu/+sourc...ug/1312354

Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#6
Hello!

Since Linux Lite is built on top of the Ubuntu 14.04 LTS kernel, chances are that if something affects Ubuntu 14.04, Linux Lite 2.0 is also affected...

73 DE N4RPS
Rob
[Image: EtYqOrS.png%5D]

A gun in your hand is worth more than a whole police force on the phone.
Reply
#7
(07-23-2014, 09:28 AM)N4RPS link Wrote:Hello!

Since Linux Lite is built on top of the Ubuntu 14.04 LTS kernel, chances are that if something affects Ubuntu 14.04, Linux Lite 2.0 is also affected...

73 DE N4RPS
Rob

Hi Rob,

Thanks...
I was hoping somebody else with a LL2 & NAS may have been able to see this.
LL 1.0.8 is O.K for me in a VM.
A friend of mine with Mint17(14.04) does not see this with his NAS/Windows Shares set-up, all rather confusing.
I really want to use LL2, but no R/W access to share directories is not workable. Sad

73 DE G8LIY
Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#8
Hello!

I have played around with NAS shares some in Linux Lite, but not recently. I'll have to check this out for myself...

73 DE N4RPS
Rob
[Image: EtYqOrS.png%5D]

A gun in your hand is worth more than a whole police force on the phone.
Reply
#9
(07-23-2014, 09:56 AM)N4RPS link Wrote:Hello!

I have played around with NAS shares some in Linux Lite, but not recently. I'll have to check this out for myself...

73 DE N4RPS
Rob

Hi Rob,

Thanks... I would be interested in what you find

73 DE G8LIY
Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#10
UPDATE:

Not wishing to give up on LL2, none of the fstab, autofs methods etc worked.
I persisted, did more googling, not sure it's clean.?, a legitimate workaround.? but it works for me.

In my home directory I created a folder zshares and 2 sub folders:
Code:
/zshares/sharednas1
/zshares/sharedbart

I then added added the following at the end of my /etc/rc.local file
Code:
sleep 5
mount -t cifs -o username=dave,password=<mypwd>,uid=dave,gid=users //10.10.10.10/shared /home/dave/zshares/sharednas1
mount -t cifs -o username=daveh,password=<mypwd>,uid=dave,gid=users //10.10.10.105/PCData /home/dave/zshares/sharedbart
exit 0

I now have 2 devices in Thunar and have full R/W at any directory level,
and I can also open the folders via any of the apps to open/save docs.

Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)