LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2003, 04:40 PM   #1
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Rep: Reputation: 15
Changing permissions (chmod)


I'm trying to change the permissions on a partition so that I can copy files to it without changing to superuser. The partition is a VFAT partition I created to share files easily between windows and Linux - it's owner is root. I changed to root, then typed "chmod 777 /winshare" and got an error message saying permission was denied, which seems odd to me, considering that when I type "ls -ld /winshare" it tells me that the owner of the directory is "root." Clearly, the owner of a directory ought to have permission to do whatever the hell he likes with it. Help?

Additionally, is there a way to change to root in X? Thanks.
 
Old 07-31-2003, 04:52 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
There are no permission in the VFAT filesystem. You can't change the permissions if they don't exist. You will need to set things up in your /etc/fstab file so that a regular user can mount the drive. One possible way is to add this line

/dev/??? /winshare vfat noauto,user,rw 0 0

to /etc/fstab and replace the ?'s with the appropriate device and partition number. There may be other ways, but I'm 99% certain that will work.

From your user account, you will have to type:
mount /winshare

whenever you want to access it.
 
  


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
permissions not staying using chmod after reboot dr_zayus69 Linux - Software 6 08-20-2005 03:34 AM
chmod won't change the file permissions midtown266 Linux - Newbie 12 11-28-2004 07:46 PM
chmod shows change to permissions, but ls-l doesn't vdemuth Slackware 6 07-03-2004 04:29 AM
changing the default chmod KOmaSHOOTER Linux - General 3 07-16-2003 12:20 AM
chmod and file permissions help qages Linux - General 5 01-27-2003 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 PM.

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