[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: public rights to files/folders



Vegard,

If you have no need for security in this folder, and all users are
"trusted", then you can set the permissions so that everything in the folder
is 'rwx', for the owner, group, and everyone else.

# chmod -R 777 /path/to/your/folder

That will change the permissions of the folder, and everything inside of
it... and everybody will be able to read, delete, create, traverse dirs,
execute... etc...

In order to 'automatically' make  everything created in this folder word
readable/writable ... you can use this command:

# umask 0000 /path/to/your/folder

After that, all 'files' will automatically be set to "666" or '-rw-rw-rw-',
and directories will be created as "777" or 'drwxrwxrwx'.

-----------------------------------------------

further more, if you would like the created files/folders to be owned by the
same group you can add the sticky bit like so...

# chmod g+s /path/to/your/folder

therefore, everything created in that folder shall have the same group
ownership as the folder.

-----------------------------------------------

hope that is what you were looking for.

BJ


-----Original Message-----
From: Vegard Lundby Rekaa [mailto:vegardlr@student.matnat.uio.no]
Sent: Thursday, February 24, 2005 3:48 PM
To: Debian User Mailinglist
Subject: public rights to files/folders


I wish to have a folder (with files) wich is accessibel to all users of my
PC, wich means all users shall have all permitions (including removing a
directory etc) to a specified folder and all its contents. If possible so
that all files placed in this folder is automaticly given accessability to
the users.

Does anybody have a good idea on how to solve this??

--
System info:
  Debian Sarge GNU/Linux
  Kernel Image 2.4.27-1-386

Cheers, Vegard


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005



Reply to: