Click to See Complete Forum and Search --> : chmod help needed


sandspur
12-08-2000, 04:10 PM
Running RH 7.0 on a stand-alone PC. Downloaded Abiword, a word processor. Tried to run it with the Gnome Run Program and was denied permission.

Here are the existing permissions for the file: -rw-rw-r--

I think I want to change permissions to: -rw-rw-rx- so that I can execute.

Tried: chmod -Rcfv ua + -rw-rw-rx- filename.rpm and got "chmod: invalid mode."

I think the mode part is "ua."

Would appreciate anyone's help.
<sandspur@dotstar.net>
<http://www.pcola.com/sandspur/>

anti_seen
12-08-2000, 04:17 PM
You should be able to just do "chmod a+x filename" as long as you are the owner of the file otherwise you'll have to do it as root. If you need to change ownership of the file do it with "chown username.groupname filename". Hope that helps you out.

------------------
Radio Shack, You've got questions...
We've got blank stares.

anti_seen
12-08-2000, 04:21 PM
Oh and I forgot to mention if this is an rpm and you are trying to install it, you do not need to set it as executable, instead you need to type "rpm -Uvh filename.rpm" as root. This will install it for you and all you'll have to do is type "abiword" at the command line, and your program will start. If you are still having trouble you can always type "man rpm" at the command line and read the documentation for rpm


------------------
Radio Shack, You've got questions...
We've got blank stares.

[This message has been edited by anti_seen (edited 08 December 2000).]