permission problems with mounted device
Why is the ownership changing after mounting the filesystem? I never had this problem before.
Code:
chris@ubuntu:~$ sudo chown -c chris:root /media/sdc1/ |
You can do whatever you want to that /media/sdc1 directory and when you mount something on top of it it will get clobbered, so of course the perms change.
Look into using udev to set your perms when the filesystem is mounted. Here is a link to get you started... http://reactivated.net/writing_udev_rules.html |
when you mount a drive in linux, it assumes the permissions of the one who mounted it. In your case its root.
Other permissions such as read and write, are also set by mounting options. |
All times are GMT -5. The time now is 06:27 AM. |