![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2007
Beans: 10
|
I administer two networks, in both users bring in files on their USB Stcks and cameras. While I'm glad that it works with ubuntu (as opposed to KDE on Fedora which we had before), the file permissions are constantly causing trouble: they are too restrictive, only the owning user has read and write permisisons. The co-workers are always blocked.
When the users get files from other linux or windows machines using scp, nfs or smb as method ("protocol") the system wide settings are honored: 1. set group as the "set group bit" of directories should 2. set read and write permissions for group and set read permissions for "others", as set in "umask=0002" but when they retrieve the files form USB medium only the owner has permissions to read and write. It's not feasible to call the admin each time and unfortunately it is not feasible to teach them all how to change permsissions with nautilus. There are far too much new users each week to teach them all. Besides they would forget after a few days and it's not a "preference" that only some users want or need. All user need it constantly in the "honor parent dir permission and umask"-Setting. So: How can I change it globally, per ubuntu host? thanks in advance for caring! |
|
|
|
|
|
#2 |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
|
Re: Wrong file permissions: files from USB media
hiya, this might not work but it's worth a try
check out file /usr/share/gconf/schemas/gnome-mount.schemas: Code:
<key>/schemas/system/storage/default_options/vfat/mount_options</key>
<applyto>/system/storage/default_options/vfat/mount_options</applyto>
<type>list</type>
<list_type>string</list_type>
<default>[shortname=mixed,uid=,utf8,umask=077,exec]</default>
.
.
You can test this locally first, by editing local gconf key /system/storage/default_options/vfat.
__________________
Building on Ubuntu using [pbuilder] Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox] |
|
|
|
|
|
#3 |
|
Quad Shot of Ubuntu
![]() Join Date: Jan 2006
Location: Örebro, Sweden
Beans: 404
|
Re: Wrong file permissions: files from USB media
I just tried this solution. I commented out the old <default> line in /usr/share/gconf/schemas/gnome-mount.schemas, using <!-- --> syntax. Is that correct? And then I changed the default options to what I want. But when I open up gconf-editor as my local user, and navigate to /system/storage/default_options/vfat, the old defaults are still listed there. I could not find anything in ~/.gconf that should override the settings. Do I need to re-login or something for this to take effect?
__________________
Ubuntu Brainstorm: Easier selection of files in Nautilus single-click mode |
|
|
|
|
|
#4 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
|
Re: Wrong file permissions: files from USB media
Quote:
__________________
Building on Ubuntu using [pbuilder] Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox] |
|
|
|
|
|
|
#5 |
|
Quad Shot of Ubuntu
![]() Join Date: Jan 2006
Location: Örebro, Sweden
Beans: 404
|
Re: Wrong file permissions: files from USB media
I just tried both logging out and logging back in, and killing my gconf-2. Is rebooting likely to help? I guess it shouldn't.
__________________
Ubuntu Brainstorm: Easier selection of files in Nautilus single-click mode |
|
|
|
|
|
#6 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
|
Re: Wrong file permissions: files from USB media
Quote:
It seems that the file you need to edit is actually /var/lib/gconf/defaults/%gconf-tree.xml just search using the vfat keyword and you should find a similar list containing the default mount options. After editing, killling the gdconfd-2 process makes it reload the schemas.
__________________
Building on Ubuntu using [pbuilder] Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox] Last edited by mlind; June 28th, 2007 at 06:08 PM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|