some chmod worries !

From: grid (prohit99_at_gmail.com)
Date: 12/14/04


Date: Tue, 14 Dec 2004 10:27:10 +0530

Hi,
   I have used chmod many times for changing permissions, but never have
come across these following chmod statements.

1. chmod 4544 - I supposed chmod only changes a 3 digit number.

2. chmod a+r

3. chmod s+u - Thought this should be suid related , but we specify
either (o)wner/(g)roup/(a)all first and then add the permissions.

4. chown nobody - Chown changes the owner of the file.But when do we
need to do this ? what are the permissions for nobody, and is the
permissions same on all OS's ( UNIX) ?

Regards,
Rohitash



Relevant Pages

  • Re: File and Folder permissions..
    ... Do not set fixed permissions that may be wrong, use chmod g+w to add write access for the group. ... Backup,,, A cronjob that change ctime every hour will tag all files as candidates for incremental backup, only change the files that need to be changed. ... A file has one owner, and if someone need to change it, just make a copy and change the copy, so your wife now are the owner of her version. ...
    (alt.os.linux.suse)
  • Re: apache permission problem please help
    ... Ok as anyone reading this thread knows i have huge mess on hands. ... chmod -R 701 home ... mailclients but i moved one and had to modify the permissions all over ... >>apache was unable to use these files. ...
    (freebsd-questions)
  • Re: setting file permissions on a web server
    ... If permissions are kept intact you can ... you transfer first and chmod on the server. ... Since I'm running Windows, I assume that I can't run the chmod line on my own computer. ... My web server uses Unix, but is it possible for me to have access to a command line for the server? ...
    (comp.lang.python)
  • Re: Safe Mode & File Upload
    ... with permissions 0755 and I can create files with a Script owned by the ... SafeMode says, that the directory belongs to the PHP-Interpreter. ... I know that chmod() doesn't change the owner, ...
    (comp.lang.php)
  • Re: Lose execute privileges on owner files?
    ... I have a bash shell script that I chmod to 777. ... What are the permissions of the parent directory? ... alarm in some manner (send you mail, write to file - I'd have it include ...
    (comp.os.linux)