Solved

File Permissions when Importing from USB Media

Posted on 2008-06-15
6
325 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…
Suggested Courses

623 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