February 13, 201412 yr Hi, I'm trying to move files from one share to another and I an error "File Access Denied" saying I need nobody permission to make changes to files. I moved the files from external hdd using the midnight command. I tried running the fix permission utility with no luck. Do I need to set the permission manually every time I mount a USB drive? I'm using unRAID 5.0.4 Thanks
February 13, 201412 yr If you didn't use the following command to load Midnight Commander you might try it this way next time before you use MC to move/copy files from your USB drive. sudo -u nobody mc
February 14, 201412 yr You have to chmod the files and then chown the file. I can't remember the exact command for chown as I need to see what the user is set as and I'm not near my pc. Sent by tapatalk
February 14, 201412 yr Okay at a pc now: Use chown to change the users to nobody chown nobody:users file.name Add -R if it is a directory and you want it to apply to all files chown -R nobody:users directory See how that goes. If you also need to mod permissions: chmod XXX file.name XXX is the octal that you need. 777 will work for everything but you probably don't need quite that much. Read this, it will explain it pretty well. http://www.linux.org/threads/file-permissions-chmod.4094/ -R after chomd for recursive to apply to all files. Josh
June 19, 20224 yr Just jumping in to this OLD thread to say thanks. Changing the owner to my main account allowed me to finally edit the conf file and add my domain from NPM. Cheers!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.