Skip to content
Advertisement

Tag: permissions

Getting ‘Insufficient rights’ and ‘userhelper must be setuid root’ error/warning while using consolehelper

‘/usr/bin/myapp’ is a link to ‘/usr/bin/consolehelper’. When non-root user try to run ‘/usr/bin/myapp’ on command prompt, it shows ‘userhelper must be setuid root’. But running with ‘sudo /usr/bin/myapp’ it works fine. While using with GUI, it shows ‘Insufficient rights’ popup. I tried by changing permissions of related files ‘/etc/security/console.apps/myapp’ and ‘/etc/pam.d/myapp’. I am getting same popup while opening ‘System->Administration->Users and

Potential issues of chmod 777 on a directory?

Assuming that I have this directory structure: /tmp/mysockets/appname/ What are the security drawbacks to doing chmod 777 on /tmp/mysockets/? Could another user delete or mess with the reference to the appname/ directory? What I want to do is allow other users to add their own directories to /tmp/mysockets/ but I don’t want to allow them to rename it or delete

Unable to configure folder permissions in Ubuntu

I found many related questions and tried to solve the issue but I was not successful. Actually I created an user named “amit” and assigned the group “www-data”. I gave permission to the folder using this method Change folder and file permission recursively: To change all the directories to 755 (-rwxr-xr-x): To change all the files to 644 (-rw-r–r–): But

Change file owner group under Linux with java.nio.Files

I have a Linux server and I’m running an image resize job in Java for multiple websites on my server. The website files are owned by different OS users/groups. Newly created thumbnails/previews are owned by the user running the resize job. Now I was googleing around how to change the file owner of newly created previews/thumbnails in my resize program

Advertisement