file permissions
can't move some files, it says error, i don't have permission. under ownership, pi owns them and its greyed out, i cant change it. the other access options are set to everyone.???
Re: file permissions
Post the permissions:pontypool wrote:can't move some files, it says error, i don't have permission. under ownership, pi owns them and its greyed out, i cant change it. the other access options are set to everyone.???
Code: Select all
pi@netpi:~ $ ls -l </path/to/file>
Re: file permissions
pi@raspberrypi:~ $ pi@netpi:~ $ ls -l </home/pi/Downloads>
bash: syntax error near unexpected token `newline'
pi@raspberrypi:~ $
bash: syntax error near unexpected token `newline'
pi@raspberrypi:~ $
Re: file permissions
pontypool wrote:pi@raspberrypi:~ $ pi@netpi:~ $ ls -l </home/pi/Downloads>
bash: syntax error near unexpected token `newline'
pi@raspberrypi:~ $
Code: Select all
pi@netpi:~ $ ls -ld Downloads
drwxr-xr-x 2 pi pi 4096 Feb 14 15:28 Downloads
pi@netpi:~ $
Re: file permissions
pi@raspberrypi:~ $ pi@netpi:~ $ ls -ld Downloads
bash: pi@netpi:~: command not found
pi@raspberrypi:~ $ drwxr-xr-x 2 pi pi 4096 Feb 14 15:28 Downloads
bash: drwxr-xr-x: command not found
pi@raspberrypi:~ $ pi@netpi:~ $
is there some kind of take ownership tool, like on windows 7, it was a take ownership, remove ownership reg file.
bash: pi@netpi:~: command not found
pi@raspberrypi:~ $ drwxr-xr-x 2 pi pi 4096 Feb 14 15:28 Downloads
bash: drwxr-xr-x: command not found
pi@raspberrypi:~ $ pi@netpi:~ $
is there some kind of take ownership tool, like on windows 7, it was a take ownership, remove ownership reg file.
Re: file permissions
pontypool wrote:pi@raspberrypi:~ $ pi@netpi:~ $ ls -ld Downloads
bash: pi@netpi:~: command not found
pi@raspberrypi:~ $ drwxr-xr-x 2 pi pi 4096 Feb 14 15:28 Downloads
bash: drwxr-xr-x: command not found
pi@raspberrypi:~ $ pi@netpi:~ $
is there some kind of take ownership tool, like on windows 7, it was a take ownership, remove ownership reg file.
Code: Select all
chown -R pi:pi Downloads
Re: file permissions
You should just type in the command. The first bit is the prompt.pontypool wrote:pi@raspberrypi:~ $ pi@netpi:~ $ ls -ld Downloads
bash: pi@netpi:~: command not found
pi@raspberrypi:~ $ drwxr-xr-x 2 pi pi 4096 Feb 14 15:28 Downloads
bash: drwxr-xr-x: command not found
pi@raspberrypi:~ $ pi@netpi:~ $.
Code: Select all
ls -ld Downloads
Re: file permissions
none of this is working... i am trying to transfer configuration files from an openvpn.zip. i have extracted the contents of that zip into downloads and then tried moving them into etc/openvpn it says i dont have permission.
i tried extracting them directly into etc/openvpn same thing.. i tried moving the zip file into etc/openvpn same thing...
surely there's an easier way than this???
btw trying to change the file pemissions of etc/openvpn doesn't work, it says i'm not allowed. so why doesn't the tutorial i found mention this file permission shit? im using noobs with an update version of raspbian. i can't be the only one that's encountered this problem.
Edit: i just tried saving the zip file directly into etc/openvpn . i press save but it doesnt appear, no error but its not there, i assume it couldnt get saved because of permissions too.
pi@raspberrypi:/etc/openvpn $ chown -R pi:pi /etc/openvpn
chown: changing ownership of ‘/etc/openvpn/update-resolv-conf’: Operation not permitted
chown: changing ownership of ‘/etc/openvpn’: Operation not permitted
pi@raspberrypi:/etc/openvpn $
i tried extracting them directly into etc/openvpn same thing.. i tried moving the zip file into etc/openvpn same thing...
surely there's an easier way than this???
btw trying to change the file pemissions of etc/openvpn doesn't work, it says i'm not allowed. so why doesn't the tutorial i found mention this file permission shit? im using noobs with an update version of raspbian. i can't be the only one that's encountered this problem.
Edit: i just tried saving the zip file directly into etc/openvpn . i press save but it doesnt appear, no error but its not there, i assume it couldnt get saved because of permissions too.
pi@raspberrypi:/etc/openvpn $ chown -R pi:pi /etc/openvpn
chown: changing ownership of ‘/etc/openvpn/update-resolv-conf’: Operation not permitted
chown: changing ownership of ‘/etc/openvpn’: Operation not permitted
pi@raspberrypi:/etc/openvpn $
Re: file permissions
figured this out. problem solved.
but if there's an app or utility to make this easier than all this typing crap. please let me know : P
but if there's an app or utility to make this easier than all this typing crap. please let me know : P
Re: file permissions
I prefer the command line to using GUIs, it's more powerful and flexible, and sometimes you have no other option; so it's best to learn it when you don't need it for when you do.pontypool wrote:figured this out. problem solved.
but if there's an app or utility to make this easier than all this typing crap. please let me know : P