Results 1 to 3 of 3

Thread: chmod 777

  1. #1
    Join Date
    Dec 2010
    Beans
    130

    chmod 777

    Hi,

    How to execute chmod 777 command without sudo right?.
    Is there possibility to add chmod command to sudoers file to execute without sudo rights, if possible, pls give the command to add in sudoers file.
    Kindly help me.

    Thanks,
    Mohan
    EMG

  2. #2
    Join Date
    Nov 2006
    Location
    The green
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: chmod 777

    It would be helpful if you could provide a bit more information on what you need to happen.

    If your user owns the file/folder that you want to change the permissions for than you don't need sudo.

    If you really want your user to use the chmod command w/o password you have to add this to the sudoers file as explained here: https://help.ubuntu.com/community/Sudoers
    #495467 - #35304

    <=> Problem solved? Mark thread solved

  3. #3
    Join Date
    Jul 2007
    Location
    Mississauga, ON
    Beans
    123
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: chmod 777

    Without being clear about what you want, perhaps what you should do is change the default permissions for file creation (aka umask).

    To set default file permissions to 777 edit /etc/profile and append this line:
    Code:
    umask 000
    Windows by necessity, Linux by choice
    Lubuntu and loving it!

Bookmarks

Posting Permissions

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