LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-16-2008, 11:05 AM   #1
glok_twen
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
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
//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
 
Old 02-18-2008, 06:13 AM   #3
glok_twen
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.
 
  


Reply


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


All times are GMT -5. The time now is 09:57 PM.

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