permissions

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

permissions

Postby Lanser » Sun Jun 26, 2005 3:57 pm

I have a shared folder in the /home folder that all users of our home pc can access for storing joint pictures/music etc. However when an individual user adds a folder/album the resulting files/folders have permissions as follows -rw-r--r-- which means that no one else can edit, add or download to mp3 unless thet remember to change permissions.
I set the sticky bit but that only worked for the main folder, can anyone tell me how to set it so that all users can add or edit to their hearts content

regards

John
User avatar
Lanser
 
Posts: 41
Joined: Thu Apr 07, 2005 8:13 pm
Location: Diss, UK

RE: permissions

Postby jjmac » Mon Jun 27, 2005 12:44 am

It will be likely that the resulting permission are just reflecting what is enabled for the owner/group of the top directory concerned. The permissions on that directory will govern the permissions for what is created in the directory. You may just need to alter that for the directory and edit the owner/group permission state.

Setting the 'sticky' bit on a directory will just mean that only the owner or root can alter the files within them. Which isn't what your looking for. Linux will ignore it on files.

]# chmod 777 /home/<shared_folder>


If you have "linuxconfig" installed, the editing of user/group states is fairly straightforward.


jm
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
jjmac
LXF regular
 
Posts: 1996
Joined: Fri Apr 08, 2005 1:32 am
Location: Sydney, Australia

Postby ped » Mon Jun 27, 2005 1:37 am

What you're probably needing in this case is a modification to the umask, the default permissions for newly-created files and directories.
Paul Doherty
http://powerusers.info
Power Tools for Power Users
ped
 
Posts: 3
Joined: Sat Jun 25, 2005 5:53 am


Return to Help!

Who is online

Users browsing this forum: No registered users and 0 guests