LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   directory permissions on mounted smb share in fstab (https://www.linuxquestions.org/questions/linux-server-73/directory-permissions-on-mounted-smb-share-in-fstab-621621/)

glok_twen 02-16-2008 11:05 AM

directory permissions on mounted smb share in fstab
 
ok hunted high and low and i'm stuck on getting the permissions right. i'm mounting a samba share housed on buffalo nas. i keep getting these permissions on all the directories, even down a level for the share level:

drwxr-xr-x 1 root root 0 2008-02-15 08:17 postgres

and here is the fstab line:

//hs-dhtgl9dc/share /mnt/smb-mnt-01/ smbfs defaults,rw,umask=0000 0 0

experimented with all sorts of options and still can't get to w's for the other 2 slots that are dashes above. and the result is that through pgadmin i can't create a new table space. i keep getting an error saying it can't set permissions on /mnt/smb-mnt-01/postgres.

can you help? should i being mounting nas in fstab? (yes i have ntfs-3g installed; and best i can tell the share is set up as read/write in the buffalo set up screens).

Simon Bridge 02-17-2008 08:07 PM

//hs-dhtgl9dc/share /mnt/smb-mnt-01/ smb username=name,password=pass 0 0
http://www.linuxplanet.com/linuxplan...orials/2047/3/

But it is better to use cifs:
http://webscript.princeton.edu/~pug/...Windows_Shares

glok_twen 02-18-2008 06:13 AM

buffalo tech support indicated the permissions in their samba setup don't always propagate correctly so i am going a different route. may just build out a storage server custom.


All times are GMT -5. The time now is 04:22 PM.