Re: Root isn't good

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

 



Hello Nicole,

On Sat, 20 Dec 2003 you wrote:

> Message: 12
> From: =?iso-8859-1?Q?Nicol=F2_Nepote?= <nepote@xxxxxxxxxxxxxxxx>
> To: <fedora-list@xxxxxxxxxx>
> Subject: Root isn't God
> Date: Sat, 20 Dec 2003 12:19:53 +0100
> Reply-To: fedora-list@xxxxxxxxxx
> 
> I have mounted a fat32 partition 7dev/hda2 on /mnt/data with the vfat option
> and added an entry in /etc/fstab with auto option. The folder /mnt/data was
> created with default umask and has 755 permissions. In order to have the
> possibility to write on that disk when I login as "nepote" (that is my usual
> identity and is part of the group "root") i logged in as root and:
> 
> chmod 775 /mnt/data -R
> 
> the command returns a list off "you don't have enough permissions (requested
> 775, was 755)"
> 
> ????????
  
Reply:

  correct me if i'm wrong. it seems to be a trivial
  problem. you have requested to chmod 775 for a
  file which has 755 as it's permissions. your user
  'nepote' is a member of group root. so being in
  the group of root, however does *not* grant you
  absolute (su) permissions. 755 translates as
  rwxr-xr-x (ugo). being a member of root, you still
  don't have write permissions. now to change
  permissions to /mnt/data, su and then do a chmod.

  enjoy :)

--
ash :)
----------------------------------------------------
Ashish V
5th Information Science
ashishthefreak_AT_yahoo.com | ashishv_AT_HotPOP.com
www.geocities.com/ashishthefreak
----------------------------------------------------

<tag> "Beware of bugs in the above code; I have only
proved it correct, not tried it."
                              -- Donald Knuth </tag>





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

  Powered by Linux