Jump to content

Mandriva 2006, Permissions


Fadix2

Recommended Posts

I don't remember I had this problem with Mandrake 10. When I log on su, I can not execute a .run, it denies my permissions, I have not checked if root had all the permissions yet, but is it normal that they will configure a Linux distro by not attributing all the permissions to root? BTW, yes the file is in /root..., so it is not due to a locked folder.

 

Suppose that root has all the permissions it should, what other reasons could there be to deny me to run it? I have also tried on a native terminal (not a one via the x-windows), and it does the same exact thing. :(

Link to comment
Share on other sites

In order to execute anything in linux, execute permissions must be set. You do this using the chmod command. There are different ways to specify the command line parameters but I usually do:

 

chmod 755 file

 

This sets the read, write, and execute permissions as : 1 1 1, 1 0 1, and 1, 0, 1 for the owner, group, and everyone else.

 

In this case, the owner will have read/write/execute permissions. The group and everyone else will only have read/execute permissions. I think this is most likely what you have to do for the .run file you are trying to execute.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...