Solved

File Permissions when Importing from USB Media

Posted on 2008-06-15
6
302 Views
Last Modified: 2013-11-15
When importing files from USB media (such as a USB camera or USB flash memory stick) using the GNOME Copy/Paste feature, or dragging and dropping, the permissions for the imported files default to:

user: read-write
group: none
others: none

I need for these files to default to the following permissions:

user: read-write
group: read
others: read

I need for this to happen without any user intervention as the users of this machine are not literate enough and will not understand this procedure. It is to enable these files to be shared through the uPnP/DLNA server MediaTomb.
0
Comment
Question by:azcn2503
6 Comments
 
LVL 19

Accepted Solution

by:
http:// thevpn.guru earned 250 total points
ID: 21788445
Try to execute
umask 033

and then copy those files

If that works you can simply add that command to ~/.bashrc
0
 
LVL 35

Assisted Solution

by:torimar
torimar earned 250 total points
ID: 21788514
You may have to edit the global mount options in the Gnome schema.

Open /var/lib/gconf/defaults/%gconf-tree.xml, search for "vfat/mount options" and change umask from 077 to 033. Save and reboot.

Good luck.
0
 
LVL 1

Expert Comment

by:kevpatts
ID: 21855983
Did this work?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to download, install, and customize fonts inside Adobe Illustrator CS6. To install and use a font: Go to dafont.com and download a premade font : Unzip it, and open it up by double-clicking: Press “Install This Font” in…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now