Re: External drive mounts with root permissions.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: gm5729
Date:  
To: plug-discuss
Subject: Re: External drive mounts with root permissions.
All *nix based filesystems will have Root as the owner of the drive.
NTFS also has "m$" idea of root with its permissions.

You can make a a $User folder and then mount it in a script.
Chmod/chown it accordingly. If the cron job is done by that $user it
will complete.

IF this drive is constantly powered on make a fstab or udev rule using
UUID's or Labels. The reason for doing that is the /dev/sdX
assignments are not reliable if you plug in usb devices frequently and
WILL swap on you. So to save your backup from going to 2>/dev/null I
think the extra persistence will help.

Udev would be good if the drive is not powered on all the time, but at
the end of the day you turn it on its good to go.

VampirePenguin
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss