0
votes
1answer
133 views

Debian file's permissions for secondary's group of user

I am installing a proftpd server on a debian dedicated server, In order to be able to update some website files in this folder : /var/www/website I have added a new user : my-ftp-user This user's ...
11
votes
1answer
433 views

How is file owner and group remembered for an external drive?

I formatted an external hard drive with an ext4 partition and subsequently mounted it. So that I could use the new partition, I did: sudo chown me:me /mount/directory to change the file owner and ...
4
votes
2answers
813 views

How to set permissions in /sys/ permanent?

I'm starting X as a user and need to set my keyboard brightness in /sys/class/leds/asus\:\:kbd_backlight/brightness. The /sys/ directory gets recreated after reboot, so the permissions will reset too. ...
1
vote
1answer
628 views

Correct owner, group and permissions when mounting an image file

Suppose I have an image home.img of a home partition of another linux machine (B). On that machine there is a users userB and there is a special group, groupB. Consider for example a file fileB in the ...
2
votes
1answer
2k views

file system uid and gid in linux

I came across a linux kernel tutorial and there they talked about 4 pairs of identifiers and one of them was file system uid and gid. Could someone explain me what it is and how it is different from ...
2
votes
1answer
8k views

Changing user and group ID system wide (including file system attributes)?

(this question possibly related to Linux: simulating/masking user ownership upon mount of 'external' partitions? - Stack Overflow) I typically use Ubuntu (currently 11.04) as my desktop OS; let's say ...