[nmglug] change permissions on USB drive
Nick Frost
nickf at nickorama.com
Thu Oct 11 21:02:23 PDT 2007
brianokeefe wrote:
> I know that this is pretty fundamental but here's what I have:
> debian:/media# ls -l
> total 12
> lrwxrwxrwx 1 root root 6 2007-10-03 07:56 cdrom -> cdrom0
> drwxr-xr-x 2 root root 4096 2007-10-03 07:56 cdrom0
> drwxr-xr-x 3 root root 4096 2007-10-11 17:44 disk
> lrwxrwxrwx 1 root root 7 2007-10-03 07:57 floppy -> floppy0
> drwxr-xr-x 2 root root 4096 2007-10-03 07:57 floppy0
>
> I would like to change permissions on disk to be used by group me
> (brianokeefe) as well as others to be read and write.
Well, if group brianokeefe exits, then it's as simple as
chown root:brianokeefe
chmod 777 disk
though you might want the sticky bit, which you can add with
chmod o+t testfile
which should allow only the user who created the file to delete it.
if group brianokeefe does not exist, you would first need;
groupadd brianokeefe
Hope that helps.
-Nick
> thanks
>
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug
--
----------------------------
_ _ __
_ __ (_) ___| | __/ _|
| '_ \| |/ __| |/ / |_
| | | | | (__| <| _|
|_| |_|_|\___|_|\_\_|
Nicholas S. Frost
7 Avenida Vista Grande #325
Santa Fe, NM 87508
----------------------------
More information about the nmglug
mailing list