Linux Ubuntu
Please can anyone help solve this problem using ubuntu.
I type into gnome terminal " chmod 755 testfile".
Error Message = chmod: cannot access ' testfile': No such file or directory.
Linux
Please can anyone help solve this problem using ubuntu.
I type into gnome terminal " chmod 755 testfile".
Error Message = chmod: cannot access ' testfile': No such file or directory.
by femiamos Accepted solution
by Wizard57M-TR Accepted solution
by femiamos Accepted solution
by femiamos Accepted solution
But there is another problem. After creating a file for testfile and running the command as below
" chmod 755 testfile". it came up as " total 0" .
I was expecting to see somethings like this " -rwxr-xr-x 1 femi femi 0 2010-10-09 19:15 testfile".
Can you please explain why and what I need to do to get the permissions ( -rwxr-xr-x) appears.
by Wizard57M-TR Accepted solution
http://en.wikipedia.org/wiki/Chmod
I'm not exactly sure what you are attempting to do, so maybe this general explanation
will help. In your example, chmod 0755 testfile made the file named testfile executable
with full access by all users.
You mentioned using Ubuntu, I'm not well versed in this distribution, but thankfully
shell commands are usually the same across all distributions. What file manager
does Ubuntu have now? PCManFM? Dolphin? Anyway, it might be easier to use
the file manager you have installed, right click on the file and choose properties...
most file managers have hooks to the shell commands to modify file attributes.
by slayer_ Accepted solution
This discussion is closed to new replies.
Sort by Trending