LinuxMCE Forums
May 22, 2013, 06:30:55 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: changing permissions  (Read 707 times)
pedplar
Veteran
***
Posts: 89


View Profile
« on: March 10, 2008, 12:00:44 pm »

How do I change permissions on an entire hard drive so I can copy media to it.  right now the owner is root.  How would I give write access to user linuxmce
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #1 on: March 10, 2008, 06:31:28 pm »

Try running:
Code:
sudo adduser linuxmce public
That should add the linuxmce user to the public group and allow him to copy files to /home/public/data/*.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

fibres
Guru
****
Posts: 306


View Profile WWW
« Reply #2 on: March 11, 2008, 03:24:46 am »

Are you talking about a second either internal or external drive here?

If this is an extra drive that has been connected to the system if you told linuxmce to use it. It should have mounted that drive as accessible.
If not you can either change the permissions on the root mountpoint and do it recursively which will effect all files on the drive or you can change the owner to be linuxmce.

To change the ownership a command like the following would perform this for a drive mounted as /mnt/data
chown -R linuxmce.public /mnt/data

To change the file permissions to give everyone in the system read/write access would be somethin like
chmod -R 0777 /mnt/data

Regards
Logged
pedplar
Veteran
***
Posts: 89


View Profile
« Reply #3 on: March 11, 2008, 07:50:49 am »

yes this was a second internal drive actually 2 different ones.  I told linuxmce to use it, but I couldn't add anything to it because the owner was root.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!