Shared files

Loïc Grenié loic.grenie at gmail.com
Sat May 7 21:07:51 UTC 2011


2011/5/7 Roy Smith <rasmith1959 at live.com>:
> Hi!  I have a situation that I'd like to get some suggestions about.
> I'm setting up Ubuntu with a total of 5 user accounts (including
> myself).  I also have around 20GB of music, video and photo files that I
> would like each account to have access to.  Instead of each user account
> having the same files in their user folder, I've though about setting up
> a separate folder that everyone can access.  So what would be the best
> security settings as far as Owner, Group and permissions would be to
> allow everyone access to these files?

    A directory where everybody has read and execute permission
  (chmod 755 dir on a command line, sorrt don't know about gui).
  Moreover, everybody should have read and execute permission
  on directories above. By default home dirs are closed, so that
  if you want to have the shared folder in your home dir, you have
  to chmod 755 also your home dir. On a command line you'd need
  to do:

mkdir ~/shared-music
chmod 755 ~
chmod 755 ~/shared-music

  This has the side effect that everybody can see what files you
  have in your homedir (and in shared-music). They can not necessarily
  read the files (they can read them if and only if they are individually
  readable).

     See if that fits your needs.

          Loïc




More information about the ubuntu-users mailing list