At 2004-10-02T23:09:06+1200, Robert Fisher wrote:
> On Sat, 02 Oct 2004 23:02, Matthew Gregan wrote:

> > The other thing is that you should not use mount options that you don't
> > understand, nor should you use an option for one filesystem when
> > mounting a different filesystem without first checking that it is
> > supported, and that it works the way that you expect.
> >
> > Cheers,
> > -mjg

> 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
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to