3

Here is what happens:

$ chmod 600 foobar.txt
$ ls -l
total 1
-rwx------ 0 sampablokuper sampablokuper 13 Feb 19 21:00 foobar.txt

Why is the last line not reading as follows?

-rw------- 0 sampablokuper sampablokuper 13 Feb 19 21:00 foobar.txt

N.B. This is occurring on a server of which I am not the sysadmin. The server is running Linux kernel "3.8.0-33-generic" under the following OS:

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"
MCS Linux 2013/2014 (x86_64)
VERSION = 2013
NAME="Ubuntu"
VERSION="12.04.3 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.3 LTS)"
VERSION_ID="12.04"
2
  • Can you try chmod 0600 – mkc Feb 19 '14 at 21:24
  • @Ketan, same result :( – user6860 Feb 19 '14 at 21:29
3

Turns out, the server was using a file system of type "cifs". This was discovered by running the command df -T.

1
  • 2
    Almost caught that looking at the second field of your ls -l output. – mkc Feb 19 '14 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy