On Sat, 02 Oct 2004 23:31, Matthew Gregan wrote:

> > So is
> > chmod -R 777 /mnt/share/
> > the correct way to make this partition a true share or should I be doing
> > something different?
>
> Well, I assume that you realise that recursively applying permissions of
> '777' give any user full read, write, and execute control over any files
> and directories from the specified directory downwards.
>
> Even if this seems like what you want, it's wrong in at least one way.
> Along with everything else, you're applying execute permissions to all
> files, which is almost certainly the wrong thing to do.
>
> What is the purpose of the 'share' directory?  If you explain a little
> more, someone on the list will be able to suggest a better way to go
> about setting it up.
>
> Without knowing anything about how you want to use it, I would say that,
> at the very least, you should set up a new group for access to the
> share, add any users that should have access to this group, and then
> apply the appropriate group-level permissions to the share.
>
> Depending on the planned use for the share directory, you might need to
> think about setting the setgid bit on the share directory, and you also
> may need to think about what users have their umask set to.
>
> Cheers,
> -mjg

Thanks Matthew,

The purpose of this shared folder is to have a very open place for all people 
on our home network, including Windows users who could be casual, to store 
and use files.
Important stuff is backed up to another drive using a cron job.
Private stuff goes in home directories.
As you can see space is not a problem...
bash-2.05b$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3            146476164   8163672 138312492   6% /
/dev/sda4             46094648  23765064  19988112  55% /mnt/share
/dev/hdb1             78145768  20575144  57570624  27% /mnt/bak
none                    451992         0    451992   0% /dev/shm

So now you see what it is for, do you think I still should change things?

-- 
Robert Fisher
(aka - Rob, Bob, Robbie, Robbo, Fish)
www.fisher.net.nz

Reply via email to