Hoping someone can help me work this one out. My setup consists of Ubuntu 7.10 and a Synology DS-207+
I created the directory /mnt/nas1 with my owner (glaxo) as the owner.
Added the following to /etc/fstab;
Code://192.168.0.10/share /mnt/nas1 cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
And then created /root/.smbcredentials with the following content;
Then ran;Code:username=glaxo password=mypassword
Code:sudo chmod 700 /root/.smbcredentials
This appears to mount the drive correctly. However, whilst I can create and access files I am unable to delete.
Looking into this further it appears the files are mounted with root as the owner. Also all files newly created through this mount point have root as their owner.
Running;
returns - "permission denied"Code:chown glaxo:glaxo /mnt/nas1
I am able to browse to the share through network places (using the same username & password as provided in .smbcredentials). When doing this there are no issues with deleting files and files newly created this way have glaxo as the owner.
Edited: For clarity of text.




Bookmarks