LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2005, 12:41 AM   #1
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Rep: Reputation: 30
Root cannot change file permissions.


I'm trying to change permissions of /media so my regular user can write to /media.

I'm trying "chown -R aje:1000 /media" as root, but I'm still being told "permission denied"

What am I doing wrong?
 
Old 08-12-2005, 01:49 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
What's mounted on media? It could be that it's mounted as read-only.
If you mount it using fstab post /etc/fstab or if you're doing it manually post the command you're using.
 
Old 08-12-2005, 02:18 AM   #3
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Original Poster
Rep: Reputation: 30
Code:
/dev/hdb1        /media           vfat        users,auto,rw,umask=000     1   0

note: I added the users option to see if that would have any effect on changing ownership. I have not rebooted or remounted the drive though ...
 
Old 08-12-2005, 02:27 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try:
Code:
/dev/hdb1        /media           vfat        auto,gid=100,user,umask=000 0 0
And yes, you've to remount the partition using mount /media or reboot.

If you've doubts about the parameters you can check with fstab and mount's man pages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot change permissions as root??? Kramer Linux - General 2 08-24-2005 07:31 AM
Root can't change file permissions!!!!!! j_pooria Fedora 1 08-19-2004 03:29 AM
Cannot change sg0 and scd0 permissions even as root Patrique Linux - Software 1 06-09-2004 04:08 AM
Change my user to root permissions metalaid Linux - Newbie 5 01-19-2004 08:17 PM
Cannot change dir permissions from root sstudley Linux - General 4 02-25-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration