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.
- Follow via:
- RSS
- Email Alert
Question
0
Votes
Answers (2)
1
Vote
You cannot change the attributes of a non-existant file...
irregardless of the operating system. Create a file named testfile, then try again.
9th Mar
Replies
It's work thank for the advise.
femiamos@...
10th Mar
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.
" 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.
femiamos@...
10th Mar
0
Votes
Here is a link to an explanation of chmod (change mode)
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.
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.
10th Mar
Replies
It's probably for school.
Slayer_
10th Mar

































