Remove permissions from ext3
I use an external hard drive for storing lots of files I share with friends and family.
I know I can set 666, but I can only do this in contained files and directories, NOT on the actual disk root. This means people can't write to the disk root. Also, setting 666 might cause some issues when someone else pastes files and applies some other permissions. Is there some way to remove permissions completely from an ext3 filesystem? I mean, have the entire "permissions" layer removed? Otherwise, what can I do? Changing fstab is out of the question, this is a shared EXTERNAL disk; people use it on their computers, I can't go around changing their fstab. The same goes to mount parameters. [edit] Ok, I said ext3, but it's actually ext4. I don't see any difference in this case anyway, but just in case. |
Did you share the drive using NFS?
If so did you share it read write or read only? |
Quote:
Your issue is related to your share configuration. Provide more information and perhaps we can help you. |
It's and EXTERNAL shared drive.
I share it by taking it to their home or giving it to them, physically. It's not a network share. |
To do this sort of stuff successfully you really need to coordinate your users/groups across all the machines that this external filesystem will be connected to. I'm not aware of any way to disable or override the posix permissions in the same way you can do when mounting FAT based filesystems by using the UID=,GID= mount options.
You can set permissions on the root of the filesystem. Just chmod the mountpoint while the filesystem is mounted and it will set the permissions on the root directory within that filesystem. chmod 1777 tends to work quite well in this sort of scenario. It'll work just like the /tmp directory does. Everyone will be able to create their own files but not delete anyone else's files. You'll still need to worry about uid/gid collisions though. |
Quote:
|
Quote:
Quote:
Regrettably, FAT is of no use, since it has an extremely low filesize limit (~4GiB), which does not suit my needs. Otherwise, it would have been my first choice. |
NTFS?
|
Quote:
|
Quote:
I didn't understand the bit on "NT Kernel", etc. It sounds like there's bound to be some issue here anyway. I'd rather use a documented filesystem instead of a closed one. But if there's no choice, then I'll use one. Quote:
I actually need everyone to have read/write access to the entire disk, not just what they pasted in. I read a bit more on the first digit of chmod, but this is not doable. |
1777 should be fine, unless you want(!) everyone to be able to delete anyone elses dirs/files.
777 = rwxrwxrwx |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 10:21 PM. |