Results 1 to 3 of 3
Hello. I have decided to play around with tty(s) linux has and I have created 2 new users. One that will be in charge of media playing (permission granted was ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-02-2013 #1
- Join Date
- Jan 2013
chmod and chown to modify access to several users
One that will be in charge of media playing (permission granted was standard user) and the other one that will be an administrator in charge of backing-up the system. Physically, all 3 users would be me. I'm just trying to learn a bit about this to be able to apply it in a couple of years at a job.
For the purpose of this thread, let's call them like this:
ivan: original account created when system was installed (System Administrator).
ivan-media: intended for media playing (Standard User).
ivan-backup: support / backup (System Administrator).
Current situation is as follows:
I have a NTFS partition used for Backups and I'm trying to change the permissions on the whole logical disk to be 755, so that owner (user1) can have full access to the file/s and the other users of the machine can at least list and read files.
I have tried the following logged in as user1:
$sudo chown -v ivan /media/506C1EA132F525C2 [sudo] password for ivan: ownership of `/media/506C1EA132F525C2' retained as ivan $ sudo chmod -Rv 744 /media/506C1EA132F525C2
Result was that files permissions were changed from 0600 (rw-------) to 0744 (rwxr--r--).
$ls -l drwx------ 1 ivan ivan 4096 May 1 08:38 506C1EA132F525C2
Thank you in advanced. =)
EDIT: I've tried what was suggested here, but nothing has changed. Apparently it kicks me out (Error was Permission denied or similar, I don't recall exactly). Permissions remain unaltered.
Last edited by ivotkl; 05-02-2013 at 02:09 PM.
- 05-03-2013 #2
Can you try these
sudo chown -Rv ivan:ivan /media/506C1EA132F525C2
sudo chmod -Rv 744 /media/506C1EA132F525C2
- 05-03-2013 #3
- Join Date
- Jan 2013
It is, and files are changed from 0600 permission to 0744 according to verbose output.
However, when I type:
~$ ls -l /media/506C1EA132F525C2
drwx------ 1 ivan ivan 4096 Apr 29 23:29 Images
EDIT: would it work if I create a group and grant permissions to the group or does it have to do indeed with previous paragraph?