[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] A question on Ownership
On Saturday 13 Apr 2002 2:49 pm, you wrote:
> If I telnet from my 'other' computer, I can easily connect to my home
> directory, and from there, 'cd E-drive' and view all my files. However, if
> I'm logged-in as ruthie, I can't change any of these files as they appear
> to be owned by root (I thought 'Windows' had no concept of ownership?!).
> Nor can I create any files in this folder :-(
Windows (pre-NT) has no concept of ownership. So when you mount a drive that
has no ownership information the secure thing to do is make it belong to
root. One way to get round this is to mount the drive as a user with the
"user" option to mount. Your floppy drive usually does this for example. This
will make the default ownership the UID of the user who mounts the disk.
Mounting as a user requires access to the device file (/dev/hd??) so you
might have to e.g. add the user to the "disk" group in /etc/groups or similar
depending on the distribution (that's how Debian does it).
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.