mount with given uid,gid
I am mounting a LVM volume (ext3) which was used on another computer and want all files and directories on it
to be accessible with my uid,gid. I could just mount it and then find . -type f -exec chown ernst:ernst {} \; find . -type d -exec chown ernst:ernst {} \; Maybe I could specify in fstab to regard all files on that volume to have my uid.gid. However I did not find out anything about this in the man page for mount. Thanks Ernst |
No, user and group properties are only set at mount time for filesystems that do not support unix permissions internally. You could just mount it and do: chown -R ernst:ernst /mount/point
|
All times are GMT -5. The time now is 01:12 AM. |