windows partition
NoOp
glgxg at sbcglobal.net
Thu Sep 4 18:35:02 UTC 2008
On 09/04/2008 10:07 AM, Doug Pollard wrote:
> Sorry I did not mean to ask how to mount but how to give permissions
> to users,root .etc
>
>From the previous second hard drive thread, the link that I gave you
(and as Nils pointed out re chown):
https://help.ubuntu.com/community/InstallingANewHardDrive
Under "Automatic Mount at Boot"
<quote>
If you want to allow a normal user to create files on this drive, you
can either give this user ownership of the top directory of the drive
filesystem: (replace USERNAME with the username)
* sudo chown -R USERNAME:USERNAME /media/mynewdrive
or in a more flexible way, practical if you have several users, allow
for instance the users in the plugdev group (usually those who are meant
to be able to mount removable disks, desktop users) to create files and
sub-directories on the disk:
* sudo chgrp plugdev /media/mynewdrive
sudo chmod g+w /media/mynewdrive
sudo chmod +t /media/mynewdrive
The last "chmod +t" adds the sticky bit, so that people can only delete
their own files and sub-directories in a directory, even if they have
write permissions to it (see man chmod).
</quote>
More information about the ubuntu-users
mailing list