This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

File Permissions errors

botcrusher

Wed Mar 18, 2015 7:35:18 pm

I'm having a strange permissions error pop up on one of my partitions.
Running a testing grounds server, and permissions wise everything was fine.
FF one week, and now the partition won't allow the server to be executed.
So, i go into properties and click the little checkbox to allow it to be executed right?
Apparently not. When i click it, it unchecks almost instantly. And yes, it even says that the owner is "me"

So I roll my eyes, fire up a shell, and go for a chmod 777 on the folder, sure enough with (and without) the use of sudo, it says it works:
Code:
mode of ‘spigot.jar’ changed from 0600 (rw-------) to 0777 (rwxrwxrwx)

Code:
mode of ‘start.sh’ changed from 0600 (rw-------) to 0777 (rwxrwxrwx)

Today, the machine wants to hate me. When i then try to execute it once again it spits this at me:
Code:
bash: /media/botcrusher/4C568B1E64EF6EBE/minecraft/start.sh: Permission denied


As this is an exposed process, i will not run the server as root, so don't even say it! ;)
Any suggestions Other than running the server as root?

Swarfendor437

Wed Mar 18, 2015 11:01:38 pm

When you say you are running a server I guess it is not Zorin? :?: :?

botcrusher

Wed Mar 18, 2015 11:26:46 pm

nope, it's on zorin. It is only a side thing, it uses very little cpu/ram , it's not like the primary use is server

Wolfman

Thu Mar 19, 2015 6:43:28 am

Hi,

open your home folder as root with the following terminal (Ctrl + Alt + t) command:

Code:
gksudo nautilus


and check the permissions of the folder, make sure you are also listed in the permissions list!. :D

botcrusher

Thu Mar 19, 2015 12:19:19 pm

will do!
but, if you look at the last line i posted, you will notice i'm not in my home folder, or partition ;)

Swarfendor437

Thu Mar 19, 2015 1:00:44 pm

Hi, I do find the 'old' commands work the best like you - 'chown' :D ;)