Hi all.
How do I copy files/folders from my home folder to a folder on a mounted shared drive?
Every time I try I get permission errors, as it at the moment I have to copy via the network which is a bit of a pain.
I really don't want start messing around with permissions just in case I fudger up something.
Cheers
Andy
Copying files
Re: Copying files
Hi Andy,
I'm afraid you're just gonna have to "mess around with permissions", sir.
Check the permissions of the mount points. If, for example, you've mounted the shared drives under /media then issue the following command:
If they're owned by "Andy" (or whatever your username is) then you should already have permission by default. If however they're mounted as root, or some other user, then you'll need for "other" to have permissions too (unless you want to start messing around with permissions groups). So issue the following command to fix this:
If you're already the owner then issue the following command instead:
Obviously substitute "media" above with the relevant mount point folder.
Does that help?
Ian.
I'm afraid you're just gonna have to "mess around with permissions", sir.
Check the permissions of the mount points. If, for example, you've mounted the shared drives under /media then issue the following command:
Code: Select all
ls -l /media
If they're owned by "Andy" (or whatever your username is) then you should already have permission by default. If however they're mounted as root, or some other user, then you'll need for "other" to have permissions too (unless you want to start messing around with permissions groups). So issue the following command to fix this:
Code: Select all
sudo chmod o=rwx /media/*
If you're already the owner then issue the following command instead:
Code: Select all
sudo chmod u=rwx /media/*
Obviously substitute "media" above with the relevant mount point folder.
Does that help?
Ian.
Re: Copying files
Thanks Ian.
But I have managed to get past the permissions without having to change them.
Here's how:
VNC into my server.
From places select network>media-server(In my case) logon to the server>locate the file/folder I want to copy from my home folder>home/andy/whatever folder>drag the file/folder into a folder on the server and voilà job done.
Easy eh?
Andy
But I have managed to get past the permissions without having to change them.
Here's how:
VNC into my server.
From places select network>media-server(In my case) logon to the server>locate the file/folder I want to copy from my home folder>home/andy/whatever folder>drag the file/folder into a folder on the server and voilà job done.
Easy eh?
Andy