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

Re: File permissions messing up?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13 Dec 2002 13:40:21 +0000, Neil Loffhagen wrote:

> Was wondering why one of you said 0777 and the other 777?  Is that the
> difference is viewing it from the smb.conf file as opposed to viewing
> it via SWAT?

When specifying file permissions for some programs, make sure you
don't forget the leading zero. It is sometimes used as a prefix for
octal (base 8) values, while numbers without a leading zero are
treated as decimal (base 10).

decimal 777 =  octal 1411 = -r----x--t
 octal 777  = decimal 511 = -rwxrwxrwx

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9+fCJ0iMVcrivHFQRAiblAJ4zScx8WUQy3/BchXZX+5A0JgebNwCcCu6y
ayiChTJnEIzfzXqehtBLtdg=
=M6cP
-----END PGP SIGNATURE-----





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