File permissions on mount point

Paul Ward pnward at googlemail.com
Tue Mar 25 21:40:41 UTC 2008


I should add my fstab looks like this:

/dev/sda2               /storage                ext3
user,grpid,suid,dev,exec  0 2

On 25/03/2008, Paul Ward <pnward at googlemail.com> 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
>
> --
>
>  email: pnward at googlemail.com
>  website: http://www.pward.co.uk
>  MSN: pob2000is at hotmail.com
>  Skype: paul.n.ward
>


-- 

email: pnward at googlemail.com
website: http://www.pward.co.uk
MSN: pob2000is at hotmail.com
Skype: paul.n.ward




More information about the users mailing list