Find the answer to your Linux question:
Results 1 to 3 of 3
Dear All, when i create folder in /mnt/network ,it will create r-x right on folder but we want rwx right on folder. we mount the share in /mnt/network. for mounting ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    4

    need rwx right on folder

    Dear All,

    when i create folder in /mnt/network ,it will create r-x right on folder but we want rwx right on folder.
    we mount the share in /mnt/network. for mounting the share of openfiler we made entry in fstab of rhel5 server.In openfiler share name is vol7 which was mounted on /mnt/network.

    plz help

    Thanks
    Amco

  2. #2
    Just Joined!
    Join Date
    Oct 2009
    Posts
    18
    From what you wrote I am assuming that you want to give all users rwx to "/mnt/network"

    chmod 777 file - Allow everyone to read, write, and execute file
    so if you want everyone to have rwx to this directory, sub-directories and files (not usually recommended)

    Code:
    chmod -R 777 /mnt/network
    if you are trying to give just one user rwx then you could do

    chown -R username /mnt/network
    and then

    Code:
    chmod -R 775 /mnt/network

    if you search this site and the internet for linux file permissions, chmod or chown. You will find more in depth explanations of file permissions.

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i suggest you read the man page for chmod and also, you should use google first, nearly all the answers are already out there

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...