Solved

File Permissions when Importing from USB Media

Posted on 2008-06-15
6
318 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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