PDA

View Full Version : File ownership probs on network attached drive


shadowspawn
2007-01-30, 02:37 PM CST
Hi,

I have sucessfully managed to map a network attached hard drive (dlink DNS 323) using /etc/fstab as detailed in other posts and copied data onto the new share. (the DNS is running a linux based system with Samba I think)


The problem comes when I wish to edit the files on the drive - these are read only and belong to the ROOT user/Group/

I have set up a user with read/write access on the network device - as proved by the ability to copy files and create files and seem to have correctly updated fstab to link to the device.

What do I need to do to allow the non-root user on the PC to have edit access to files

fstab statement
#Network Drive

//192.168.0.6/simon_home /home/simon/mydocs cifs rw,username=simon,password=pwd,uid=500,gid=Linux 0 2



I have tried several UID and GID options including leaving them out to no avail.
Can anyone offer any assistance?

Thanks

shadowspawn
2007-02-02, 02:37 PM CST
In case anyone has a simlar problem - using the option

nosetuid


has given me edit access to the drive.