Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-16-2008, 11:05 AM   #1
LQ Newbie
Registered: Jun 2007
Posts: 11

Rep: Reputation: 0
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).
Old 02-17-2008, 08:07 PM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
//hs-dhtgl9dc/share /mnt/smb-mnt-01/ smb username=name,password=pass 0 0

But it is better to use cifs:
Old 02-18-2008, 06:13 AM   #3
LQ Newbie
Registered: Jun 2007
Posts: 11

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions On A SMB Share carlosinfl Linux - General 1 08-31-2007 01:29 PM
permissions on mounted samba share ross Linux - General 2 03-06-2007 05:09 AM
Can't write to mounted HD, set permissions in fstab, need help LoneCanisLupus Linux - Hardware 12 02-23-2007 02:49 AM
Automount network smb share with fstab phatboyz Linux - Networking 2 11-03-2004 12:05 PM
Accessing a mounted smb share hangs haddad Linux - Wireless Networking 0 07-24-2004 05:52 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration