Access permissions chmod 606


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Access permissions chmod 606
# 1  
Old 09-03-2013
Access permissions chmod 606

Hi All

I am running Ubuntu linux flavour.
I need provide multiple users belonging to the same group access to a dir where they can write files but are not supposed to remove or rename files. users outside the group should be able to read and write to the dir.

i have set the permission of the dir to 606 (chmod 606). The group members are however able rename files. How can achieve my goal as set above?

Regards
Simza
# 2  
Old 09-03-2013
606 make no sense : I disallows people in the group to access but allows others to write/read...
# 3  
Old 09-03-2013
Hi vbe

Thanks for your quick reply :-).
Let's not debate whether 606 makes sense or not.

The question is does 606 do what 606 is expected to do (i.e disallow group members mv files owner by other members in the group) if not how can i achieve what 606 is supposed to do?

Simza
# 4  
Old 09-03-2013
(was on phone...) worse 606 doesnt even let you enter the directory even if you were the owner... are you sure you are talking of the directory? if so show us the output of
Code:
ls -ald <dir>

For you need execution on directories to traverse...
# 5  
Old 09-03-2013
Quote:
Originally Posted by Simza
Let's not debate whether 606 makes sense or not.
It makes no sense because your entire problem statement centers around granting some permissions to some unnamed group but the permission 606 grants nothing to any group. Whatever permissions the members of that group have on a 606 directory or file, they have them because they are granted to everyone.

You should provide some specifics. Show us a long listing of the file hierarchy, with owner/group/perms, and examples of the commands that group members and non-members should be allowed to use and forbidden from using.

Quote:
Originally Posted by Simza
... users belonging to the same group access to a dir where they can write files ...
Does that mean creating a new file in the directory, or modifying an existing file, or both?

Quote:
Originally Posted by Simza
users outside the group should be able to read and write to the dir.
Reading a "dir" is essentially getting a file list, such as what ls does. Writing to a "dir" means creating/deleting/renaming files. Is this what you actually intended to say? Or do you actually mean reading and writing to files within the directory?

Sounds to me like members of the group are intended to have less permissions than those not in the group.

Regards,
Alister

Last edited by alister; 09-03-2013 at 09:58 AM..
# 6  
Old 09-03-2013
Thanks.

let me rephrase my question:

I have two users paul and nelly. they belong to a group named students

I would like users in the group students (paul and nelly) to be able to access dir /app/projects/final and copy files to this directory (ftp) . nelly should not be able to rm/mv files owned by paul and vice versa.

True 606 will not work because for access to the directory you need to have execute permission on the directory.

however 700 (just avoiding 707 to focus my question) for the dir does not work either even if the file permission is the default 644.

how can i achieve my hopefully now clear requirement above.

Simza
# 7  
Old 09-03-2013
In order to protect files from non-owners re-/moving them, try the "sticky bit"
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Permissions and access to data

Hi Operating system Red Hat Enterprise 5.8, Data access Mac/PC environment on various OS levels. Access via smb I am trying to set up a data shared area where a user group can read and write to its own directory, but can only write to another groups directory. Example: I have set up two... (1 Reply)
Discussion started by: treds
1 Replies

2. OS X (Apple)

Change access permissions

I purchased a 2TB hard drive, split it into two partitions, and formatted it as NTFS. I want to use the drive on my pc and my mac. How can I change the access permissions so Mac OS 10.4.11 will let me write to the drive? I tried this: $ chmod +a "admin allow write" /volumes/V2_Mac chmod:... (3 Replies)
Discussion started by: Me&MyMac
3 Replies

3. UNIX for Advanced & Expert Users

file access permissions

Hi everybody, following is the scenario; OS HP UX 11.23 two users: # id bodi uid=109(bodi) gid=20(users) groups=1(other),2(bin),3(sys),106(oinstall) # id ossmed uid=121(ossmed) gid=20(users) umask 077 directory name /home/mydir directory permissions drwxrwxrwx requirement: to... (1 Reply)
Discussion started by: ajays
1 Replies

4. UNIX for Dummies Questions & Answers

changing permissions on a 444 file (ie chmod 444)

if I have a file set to permisions 444 (r-- r-- r--) should anyone other than the owner and root be able to change these permissions or delete the file. Apologies if this is a no-brainer but I cant test it myself and someone in our organisation is playin around with files they shouldnt be (1 Reply)
Discussion started by: ajcannon
1 Replies

5. UNIX for Dummies Questions & Answers

Unix chmod permissions

Hello all, Trying to do the following. 1. Run Windows installer from a unix server. 2. Let user run the shortcut but not allow access to the folder where the exe itself is running. What I have done so far: 1. Copied the application to the server and placed in a folder called "data".... (2 Replies)
Discussion started by: whiterabbit
2 Replies

6. UNIX for Dummies Questions & Answers

ls and chmod numeric permissions

Hello, When I do a "ls -l" I can see my directories have drwxr-xr-xr. I am more used to the chmod numerical syntax like 755. Is there an easy way to list out the numerical permissions rather than rwx etc. (1 Reply)
Discussion started by: rondebbs
1 Replies

7. UNIX for Advanced & Expert Users

chmod (permissions) * not working on remote server

Hi gurus ! I am developing a FTP script which will copy all the files from one server to another server and then I need to use CHMOD 755 * to set permissions of all the files just copied to the remote server. mput * chmod 755 * CHMOD gives me an error CHMOD works fine If I specify... (3 Replies)
Discussion started by: sdlayeeq
3 Replies

8. UNIX for Dummies Questions & Answers

chmod permissions

Is there any way that you can set it up so when you create a file it has the chmod permissions of u+x? I am not a root user on the system (1 Reply)
Discussion started by: himurak
1 Replies

9. UNIX for Dummies Questions & Answers

directory permissions and CHMOD

I am working on a new UNIX box that has been delivered to us, and noticed that the /home directory has 555 permissions on it (dr-xr-xr-x). Any attempt to create write permissions fails on this directory (such as chmod 777), responding only with a message; chmod: WARNING: can't change home ... (3 Replies)
Discussion started by: ncarmstrong
3 Replies

10. UNIX for Dummies Questions & Answers

root access on sun os and permissions

Currently have root access to our own boxes on site. HQ wants to take root access away from us. What does root access provide that is unavailable for users as it is essential for us to keep local control. We log in as users but have su for special needs. On all other os boxes we have admin... (2 Replies)
Discussion started by: allinone
2 Replies
Login or Register to Ask a Question