Questions

Linux Ubuntu

+
0 Votes
Locked

Linux Ubuntu

femiamos
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.
+
1 Votes

irregardless of the operating system. Create a file named testfile, then try again.

+
0 Votes
femiamos

It's work thank for the advise.

+
0 Votes
femiamos

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.

+
0 Votes

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.

+
0 Votes
Slayer_

It's probably for school.