Re: formating external USB hard drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



François Patte wrote:
> Tim a écrit :
> 
> 
>>For filesystems with ownership systems, that you want to share files
>>with, you need to make sure you make the files suitably readable as you
>>save them.  e.g. Group readable to a group common to both PCs, or world
>>readable, if applicable.
> 
> 
> So, it is hopeless to configure udev with filesystems with ownership
> systems.
> 
> Thanks for this help.
> 
One thing you can do, after you have the drive mounted, is to change
the permissions to match that of /tmp. That way, anyone can write
to the drive, but you can only modify your own files. You could
also set the drive to world writable without the sticky bit, and
anyone could read/write/delete the files.

Try this, as root:

cd <mountpoint>
chmod --reference=/tmp .

This change follows the drive, and not the mount point. So the drive
will work the same on any system you plug it into.

Now, if you just wanted the drive accessible to the person logged
into the console, you could create a script that would be run after
the drive was mounted that would run chown on <mountpoint>/. But I
do not know how to set up HAL to launch it...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux