Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th February 2008, 18:08
glok_twen glok_twen is offline
Junior Member
 
Join Date: Jun 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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).
Reply With Quote
Sponsored Links
  #2  
Old 17th February 2008, 18:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Do you see any errors related to the smb share in the
Code:
dmesg
output?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th February 2008, 13:12
glok_twen glok_twen is offline
Junior Member
 
Join Date: Jun 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 With Quote
  #4  
Old 18th February 2008, 19:17
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Unhappy

I'm having a similiar problem,
i am trying to mount an smbfs from an NTFS harddrive on a seperate pc so that all users in the group can have rw on it.
The /etc/fstab has:
Code:
//opserv/E  /mnt/opserve  smbfs  users,noauto,umask=0022
but only root has rw rights.
I tried :
Code:
 chmod g+w /mnt/opserve
but result was:
Quote:
chmod: changing permissions of `/mnt/opserve' (requested: 0775, actual: 0755): Operation not permitted
Reply With Quote
  #5  
Old 18th February 2008, 20:06
glok_twen glok_twen is offline
Junior Member
 
Join Date: Jun 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what about adding rw to the list of paramters?
Reply With Quote
  #6  
Old 19th February 2008, 00:17
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
 
Default

Isn't that the
Quote:
umask 0022
?

if not, where should I put "rw" so that only same group has the rw rights ?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
update failed loge Installation/Configuration 6 1st December 2007 17:53
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 19:37
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 14:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.