Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th December 2010, 07:43 PM
Togop Offline
Registered User
 
Join Date: Jun 2010
Posts: 17
linuxchrome
Change permissions

Hi all,
When I installed fedora, I set one partition to automount as /data. I want it to be accessible by everyone who uses the computer. However, it now doesn't let me change the permissions at all. What should I do?

The SELinux context is dosfs_t
I can't change that either.
Reply With Quote
  #2  
Old 27th December 2010, 08:41 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 857
linuxfedorafirefox
Re: Change permissions

I don't know much about SELinux. But I would try it with this approach: add every user to a common group e.g. users (you can change the group settings in the file /etc/group), then change the ownership of /data with
Code:
su
chown -R :users /data
(where users is the common group)

And then allow the group to read, write and excecute /data with the command
Code:
chmod -R g+rwx /data
Maybe it works then
Reply With Quote
  #3  
Old 27th December 2010, 08:53 PM
domg472 Offline
SELinux Contributor
 
Join Date: May 2008
Posts: 621
linuxfedorafirefox
Re: Change permissions

dosfs does not support (extended) attributes (selinux security contexts)

So you cannot change the type. You can maybe however (if you so desire) mount that partitions using another context with the mount command and context option (see: man mount)
__________________
Come join us on #fedora-selinux on irc.freenode.org
http://docs.fedoraproject.org/selinu...ide/f10/en-US/
Reply With Quote
  #4  
Old 28th December 2010, 02:26 AM
sidebrnz's Avatar
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,104
linuxfedorafirefox
Re: Change permissions

I presume you mount the partition through /etc/fstab. If so, you can change the mount options to get what you want. Please post the appropriate line and I'll show you how to get the permissions you need.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #5  
Old 29th December 2010, 08:51 PM
Togop Offline
Registered User
 
Join Date: Jun 2010
Posts: 17
linuxchrome
Re: Change permissions

Here's the mount line:
UUID=F660-A125 /data vfat umask=0077,shortname=winnt 0 0
Reply With Quote
  #6  
Old 29th December 2010, 08:56 PM
sidebrnz's Avatar
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,104
linuxfedorafirefox
Re: Change permissions

If you want the partition to be world-writable, change that to umask=0000. Then, after saving your work, and still as root, run this:

mount -a

which will remount everything in fstab.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
Reply

Tags
permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
change permissions tanti Using Fedora 1 4th October 2010 01:17 AM
Can't change permissions demetris Using Fedora 3 30th April 2010 07:47 PM
how to change about permissions ? tonjaa Security and Privacy 7 4th July 2009 09:58 AM
how can I change permissions? danielito Using Fedora 10 11th March 2008 01:12 PM
Change permissions chejose Security and Privacy 2 18th March 2007 10:34 PM


Current GMT-time: 14:44 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat