fstab mount permissions for ext3 drive in Lucid Lynx
Hi,
I am having some permission issues on my non-boot ext3 partition on lucid. It mounts properly, but I cannot create/delete anything on that partition without sudo. As a workaround I created a directory with in that partition with proper permission for every user. But that is not exactly what I want! I guess, there must be a way to mount with all permissions for the user. Here is my fstab file, and the partition with problem is UUID=2846e47e-f3cf-4eaa-a64f-6c4fdd4043b0 mounted at /Partitions/Docs/ (line 12-13): Quote:
Quote:
Quote:
Also, for this partition and for the fat32 partition (/Partitions/fat32), I cannot move any file to trash, they get deleted completely without a trace. I guess this problem is connected with the permission issue for the ext3 partition. Is it? And is there a way to avoid this in the fat32 partition? Any help is highly appreciated. TIA, |
Permisions
There are probably better ways as I am not great with command line but I solved the same problem on my system doing this. In a terminal type "gksudo nautilus" and enter your pass word when prompted.This will have
you running your file mgr. as root ( real root not sudo),be careful. Stay within nautilus and you can change the permissions of your drive. make sure you tell it to change the permissions on the directories and sub directories also. Just be careful and you should be able to solve your problem. I xfered about 500gb of data last week after fixing the same problem. Good Luck. Maury. |
Hi
As for you not being able to create/write to the drive, you should check the permissions. I presume that root owns the top directory, so you will need to change those perms appropriately for your user. Also - by default, external drives are owned by root if they are fat32/NTFS and I don't think there is anyway around this other than to elevate your privileges or sudo. File permissions still apply to any mounted drive in Linux. Hope this helps :) |
Hello,
Quote:
If you want each user to have a separate, private, directory on that partition, you did it right, because it requires these directories to have different permissions for each user, and the directory /Partitions/Docs/ remains owned by root. Exactly as in /home directory. However, if you want to grant all users rw rights to the root directory of that partition, i.e. /Partitions/Docs/ you must after mounting it change the rights to the mount point: Code:
sudo chmod a+w /Partitions/Docs/ |
Thanks Maury, Jeiku and dr_argon!
It worked as I changed the permission of the folder where the ext3 drive was being mounted as suggested by all of you. I wanted all folders in /Partitions/Docs/ to be accessible to all, and changing permission of /Partitions/Docs/ did the trick. It retained the permission in subsequent remounts. However, "move to trash" still doesn't work for the fat32 partition (it is not an external drive, though). I guess, as Jeiku said, there is no way around for fat32 partitions for this. I am happy with what I have now! Thansk again, |
All times are GMT -5. The time now is 05:55 AM. |