File permissions on mount point

Aaron Konstam akonstam at sbcglobal.net
Wed Mar 26 15:23:29 UTC 2008


On Tue, 2008-03-25 at 21:29 +0000, Paul Ward wrote:
> Hi All,
> 
> I should know this but it gets me everytime.
> 
> I need to set up an etx3 mount point called /storage
> I want the following users to be able to write and read and execute
> (777) on all files including newly created ones from a samba share.
> 
> The users I want to have access are mythtv and simon.
> 
> currently samba creates files as adm
> I set file perms to 777 on /storage
> chgrp mythtv
> chown simon
> 
> smb.conf:
> [storage]
>         browseable = yes
>         writeable = yes
>         create mask = 777
>         path = /storage
>         guest ok = yes
> 
> However I think I need to set up uid or gid and umask on fstab.
> 
> Please can someone let me know the correct fstab config.
> 
> 
> Many Thanks
> 
> Paul
> -- 
I may be missing something but have /storage owned by a group that
mythtv and simon belong to. Users can be added to any group.
--
=======================================================================
The price one pays for pursuing any profession, or calling, is an
intimate knowledge of its ugly side. -- James Baldwin
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list