Debian :: How To Change Permissions On Exfat Removable Media

Jul 20, 2015

I'm going traveling and I had the bright idea of putting my sensitive and irreplaceable files on an sd card. Then if I leave my stuff in a sketchy hostel for the day, I can easily take the card and might lose only a replaceable netbook. The problem is that I want some files to have 600 permissions (rw-------), readable and writable only by owner.

But no power on earth seems to be able to force a fuse-ified filesystem to pay attention. Whether I try "chmod 600 filename.txt" as the owner/user or as sudo makes no difference. Nothing works. The sd card is mounted with a line in /etc/fstab:

Code: Select allUUID=0000-0000 /mnt/64_GB_sdxc  exfat  auto,rw,user,exec,uid=1000,gid=1000,dmask=0022,flush,fmask=133  0    0

So the user owns the files and they have typical permissions instead of the automounted default of 700. That's all very nice, but I'd like to be able to change permissions on just a few files!

View 3 Replies


ADVERTISEMENT

Ubuntu :: Change Default Permissions Of Removable Media Mounted Via Nautilus?

May 2, 2010

behavior in 9.04:plugged in a disk, mounted it and it as readable to the world.this is intended because it is shared via samba.behavior in 10.04:the disks have 700, meaning, they are not readable by samba.this is a problem.this is the best solution I've found so far:http://www.mail-archive.com/ubuntu-u.../msg10951.htmlexcept, that the mentioned means to fix this are gone.(gconf-editor -> ..., storage and preferences -> removable media)after 3 hours of googleing and reading I'm rather upset about this bug.so please, if you are thinking of suggesting fixed entries in the fstab or anything else that will not work with every media that is plugged into this box, just close this tab.

View 3 Replies View Related

Debian Configuration :: Systemd Automounts For Removable Media Not Timing Out

Jul 18, 2015

I have the following hardware setup:

a NAS running Debian that frequently (but not always) has two removable media attached,a Debian desktop that mounts the above NAS via sshfs,the aforementioned removable media are symlinked to the directory on tha NAS that is then mounted by the desktop.

What I'd like this setup to do is to immediately time out if mounts as unavailable. Instead, I only get the expected behaviour if the NAS is down (the ssh client takes about 3 seconds to do that); if it's up, the removable media automounts (they are symlinked to the directory shared with the desktop) seem to never time out, ever. This happens locally on the NAS as well, when ssh'ing to the NAS and trying to run `ls /media/Storage` or `ls /media/Backup`, these commands never return. It's as if systemd was ignoring the x-systemd.device-timeout setting on the NAS.

The relevant part of the NAS's fstab:

Code: Select all/dev/sdb1       /media/Backup   ext4    defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,user,nofail,x-systemd.idle-timeout=30s       0       1
/dev/sdc1       /media/Storage  ext4    defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,exec,nofail,x-systemd.idle-timeout=5min      0       1

[Code] ....

I find it highly interesting that despite both removable media being detached, only one is flagged as having a dependency failed. Both paths exhibit the hang behaviour, though.

What can I do to actually time out when the media are not there?

View 4 Replies View Related

Debian Multimedia :: Disable Write Caching For Removable Media?

Feb 9, 2010

how to make removable media (e.g. USB sticks) not have any write caching. I want to prevent data loss when they are removed after file copying appears done but before write caches are written. I'm using Gnome on Squeeze.

I've found suggestions of adding the 'sync' mount option to /system/storage/default_options/vfat/mount_options in the Gnome configuration. However this doesn't seem to completely eliminate write buffering, as the drive activity light continues for several seconds after file copying appears done, and unmounting drives produces a dialog box which says to wait whilst data is written to disk.

View 5 Replies View Related

Debian Installation :: Installs Grub And Then Will Boot The Installer But Is Still Tries To Find The Removable Media?

Jan 1, 2011

Im trying to do a frugal install off the hard drive (no usb,cdrom) with unetbootin. It installs grub and then will boot the installer but is still tries to find the removable media. Whats going on????

View 2 Replies View Related

Ubuntu :: Missing Removable Media?

Jan 26, 2009

i downloaded and installed ubuntu 8.1 and when i pop in a cd it tells me that it cannot find autorun. i seem to be missing the removable drives and media tab which i'm told should be located under system/preferances.

View 1 Replies View Related

Ubuntu :: Removable Media Not Automatically Mounted?

May 12, 2010

I use Ubuntu 10.04, and whenever I insert media into a removable media drive, it does not come up on my desktop automatically. I need to go to Computer, then to the drive. It then appears on my desktop. Is there any way to make the device automatically appear? This problem occurs for any removable media. I am using Ubuntu 10.04.

View 4 Replies View Related

Ubuntu :: Configuring Autorun For Removable Media?

Mar 28, 2011

(Ubuntu 10.10, Unity desktop)How can I configure Ubuntu to launch gtkpod when I connect my iPod? It's currently launching Rhythmbox. I can't find anything about removable media in Unity's Toolbar > Applications

View 2 Replies View Related

Red Hat :: Changing Automount Options For Removable Media?

Mar 31, 2011

This appears to be a simple problem, but I struggled my way around google, trying to figure out the right words to search for, with no real success. The problem:When I plug-in any usb device or an external hard disk, my RedHat automatically mounts it to /media/<device_name>. Unfortunately, it's owner and group are both root, whereas, I would like to add other users to have write access (say, all users in a group usb_group to be able to write stuff in it). Currently only read access is there for others. I would like to change it to write access to a particular group and I can add the

View 5 Replies View Related

Ubuntu :: Removable Disk Permissions?

Jun 30, 2010

I`ve got a laptop with Lucid Lynx. After I tried to connect a smartphone to it, my permissions for all removable media (usb flash, dvd-rom, sd-cards) have somehow switched to read-only. When I use sudo rm -rf to delete files, everything works, but when I try to write something to the drive, all the files are skipped.

View 2 Replies View Related

Fedora :: Mount Removable Media From Command Line

Jul 6, 2010

I'm using Fedora 12, and I want to mount/unmount my USB memory stick from the command line. I know I could edit /etc/fstab and so on, but I want to emulate what happens when you mount using the GUI (I use KDE and the device notifier), that is, I want to be able to do this as an unprivileged user and not have to know the mount point exists in advance.

I'm sure in older versions of Fedora there was a command something like `gnome-user-mount' which let me do this knowing only the filesystem label... What is the current equivalent?

View 5 Replies View Related

Fedora :: Disable Automounting Removable Media When They Inserted (CD And DVD)?

Dec 23, 2010

I want to disable automounting removable media when they are inserted, especially CD and DVD. I use F13 and Gnome. I went through System/Preferences/File Management/Media and set everything to "Do Nothing", see below:

I have installed gconf-editor and verified that all automounting options are unchecked:

according to "/sbin/chkconfig --list" haldaemon is off and automount is not installed.
What else should I check?

I would not mind if USB (flash) disks were automounted

View 3 Replies View Related

Ubuntu :: Has 'Removable Drives And Media' Option Been Moved Somewhere Else In 10.04?

Jul 23, 2010

I'm running a fresh 64-bit install of Ubuntu 10.04. I no longer have a System->Preferences->Removable Drives and Media option in my menus, and need to re-configure it (I had set it to "Do Nothing" and "Always do this action" sometime in the past, but now I want to change it)I have right-clicked my menu, went to edit, and made sure it wasn't un-checked)Has the "Removable Drives and Media" option been moved somewhere else in 10.04?

View 4 Replies View Related

General :: Disappear Desktop Icon For Removable Media?

Mar 16, 2010

Ubuntu 9.04 Gnome Desktop (although I have seen the same situation in other versions).When I have a removable media device installed such as a USB flash drive, a CD/DVD or an SD card in the built in reader I have a corresponding icon on the desktop. So here is my situation...I have a 16 GB SDHC card installed in the reader in my netbook as additional storage. As the main solid state "hard drive" itself is only 16 GB I leave the card in at all times. I would like to do away with the desktop icon as I never use it to access the SD card. Any way to do this? I believe it appear as part of the HAL process so perhaps it will go away with 10.04.

View 2 Replies View Related

Ubuntu :: Disable Auto-mounting Of Removable Media

Jul 16, 2009

I want to disable automounting of removable media such as anything on USB, memory cards, and even eSATA. I do want the device node to be set up, but that's it.

View 3 Replies View Related

Security :: Restricting Remote Users From Accessing Removable Media?

Mar 17, 2011

I run a system that users may log into either remotely or physically. Multiple users may be logged in simultaneously because of the remote access, but only one user can be physically logged in at a time.With the current setup, however, if the physical user inserts a flash drive (which the OS mounts automatically) then the remote users gain access to the removable media.

View 6 Replies View Related

Ubuntu Installation :: Unabling Autorun Without Removable Drives And Media Option?

Jan 10, 2010

I've just partitioned my hard drive with GParted so that I have space to install and run Windows OS based programmes such as Monkey Island (wine simply won't work) and other PC games. I have the Windows XP SP2 Installation CD but my OS (Intrepid Ibex) won't allow me to autorun the CD and proceed to installation.

Now having hunted around the net little, it seems the answer is System->Preferences->Removable Drives and Media. Problem is, I don't have a Removable Drives and Media option on this menu. Is there a workaround for this? E.g., is there a way of using the Terminal to enable autorun, or is there another way I can do this?As I'm pretty new to this thing, feel free to use short words and detailed explanations.

View 3 Replies View Related

Ubuntu Security :: Virus Scanner To Scan Some Removable Media (USB Drives, Mp3 Players, Etc)?

Jan 19, 2010

I'm looking for a virus scanner to scan some removable media (USB drives, mp3 players, etc). Since there's so many choices to choose from, can anyone recommend any?

I've heard a lot of people recommending clam av, but everything I've read suggests that clam av is better used for scanning e-mail servers and not home desktop application...

View 1 Replies View Related

OpenSUSE :: System No Longer Responds To Removable Media Such As Flash Drives And Insertions Of DVD/CD Disks?

May 20, 2010

Through some recent update, which one I am not sure, my system no longer responds to removable media such as flash drives and insertions of DVD/CD disks. Whereas before, for instance, if I inserted a USB flash drive, the "Device Notifier" would pop up, tell me that a new device had been detected, and ask me what I wanted to do with it, now nothing. "My Computer" (sysinfo:/)does not update either. The kernel knows the device is there, since I can see it when I do "lsusb". OpenSuSE x86_64 11.2.

View 3 Replies View Related

Debian :: Cannot Log In After Folder Permissions Change

Apr 19, 2015

I have a Debian Wheezy 7 installation. When I turn it on it boots to the log in screen normally. However when I type in my username/password and try to login the screen briefly turns off for about one second and returns to the log in screen. I cannot log in.

This started happening immediately after I changed the owner and permissions for the "/tmp" folder and all of its contained files/directories. This is the only change I made to the system before the problem began. Immediately after I made the change, I rebooted the system and that's when the problem began.

View 13 Replies View Related

Ubuntu :: Change The Mounting Point Of A Usb External Drive From '/media/disk' To '/media/Movies'

Jan 16, 2011

I was trying to change the mounting point of a usb external drive from '/media/disk' to '/media/Movies'

Here is were the stupid part takes over... I right clicked on the desktop icon for the device and selected Properties. From there I selected the Volume tab and in there I changed the mounting point to '/media/Movies' It accepted it and said the changed would take place when I unmounted it and remounted it. However, when I did this it now says it cannot be mounted as it says mount_point contains invalid characters usually /

Unfortunately, now I cannot get back into the properties to remove my error.

View 4 Replies View Related

Debian Configuration :: Udev Rules To Change R/W Permissions?

Mar 28, 2011

I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':

KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""

[code]....

However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?

View 7 Replies View Related

Debian :: Change Default Permissions For Newly Created Files?

Jan 19, 2011

I'm new to Debian. I've read the documentation on this but it is too heavy for a new user to understand. I would like to change the default permissions for newly created files/directories.

I want all newly created files by 'user1' to have the default permissions of:
1. "owner can read and write"
2. "group can read and write"
3. "other can read only"

Permission 1 and 3 are already default. But I would like number 2 to be default as well. (the current default for group is read only).

View 9 Replies View Related

General :: 'nodev' And 'nodev' Option For Removable Media?

Jan 6, 2010

How do i actually check whether the 'nosuid' and 'nodev'option are added for removable media in the /etc/fstab file?

View 1 Replies View Related

Debian :: EXFAT Support Vs NTFS Support ?

Aug 25, 2010

I'm looking to dual-boot Windows 7 and Debian 6 upon its release on my sister's laptop. I want to share a partition between the two of them so that /home points to this directory and the Windows equivalent also points to it (C:Users).

Anyway, I've heard good and bad things about the NTFSMount driver (I think it's NTFS-3G now) and the NTFSprogs project and so I am not so certain what I should believe. I do know that NTFS has relatively high overhead, though I do not recall the source of this assertion, so I am considering the use of EXFAT. An open source EXFAT project is hosted on Google Code at [url] and it utilizes the kernel module FUSE.

I'm quite certain that I've got everything covered on the Windows side -- that is, I know that both NTFS and EXFAT will be suitable filesystems for my required usage.

My issue is that I'm curious which will have superior performance and stability in Debian. I planned on building the package from source and mounting the device in my FSTAB but I have also found a PPA for Ubuntu on Launchpad at [url] that I could borrow the debian/rules from and make a .deb package from.

What do you guys think? Should I go at it with the EXFAT or NTFS partitioning? Is NTFS-3G actually fairly supported at this point? Or perhaps should I consider some alternate method?

I have also considered that the only files she will be sharing are those of music, videos, and pictures so it could be better to just link /home/xxxx/Pictures (Music and Videos, too) to the new partition instead of all of /home.

View 7 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

Security :: Debian Shows File Permissions Change When Copied To A Windows Partition?

Dec 10, 2010

Some time back using this computer a SucKit rootkit was found. Having dd urandomed the drive, flattened CMOS battery, flashed BIOS, run Knoppix live CD 6.1,using no flat pack battery (laptop), and memtested the RAM, I am still having problems with what I suspect is a javascript file that tries to reload the rootkit from? firmware. I suspect the firmware as everything else should have eradicated it??

Also it or a hacker via a backdoor then corrupts the drivers so devices malfunction. Windows security programs and rootkit detectors don't seem to pick it up. Fresh install of Windows or linux after the above still show this problem, though internet not used. The person who admitted rootkitting this machine is capable of writing java programs or using javascripts to do all this.

When viewed using Ubuntu 8.4 files and dates on a Windows partition appear normal both in file manager and terminal. However booting using Knoppix CD these files are all green, and I cannot change their permissions, even as root. ie: everything is green including text files etc. If I copy them to a linux partition, I can change their permissions and make them nonexecutable and nonwritable. Also on the Windows FAT32 partition the . directory has the date 1 Jan 1970.

If I disable any green files, I can shutdown and reboot cleanly. If I don't I start having problems shutting down [/usr/sbin/init ?] And always these follow a pattern:

Can't remember details as I have now corralled the beast but error messages relating to:

nfs-server
inet.d/statd

are the start of these.

View 3 Replies View Related

Ubuntu :: Can't Mount Removable Media: "failed To Execute Child Process Exo-mount"

May 18, 2011

I just upgraded Xubuntu from 10.04 LTS to 11.04 and I am no longer able to mount removable media from the "places" menu. The message I get:

"Failed to execute child process exo-mount (No such file or directory)"

I assume some wrapper process is attempting to execute a program called "exo-mount," but no such program exists anywhere in the repositories, according to a search with apt-file. The "exo-utils" package used to contain exo-mount, but the program no longer exists in that package.

Mounting from within Thunar works fine.

View 3 Replies View Related

Ubuntu :: Permissions For Media Files?

Jul 27, 2011

I wanted to know whether its possible to prevent some user from playing mp3/any other media files, using the chmod command? Are the read and execute bits meant only for text/office files?

View 6 Replies View Related

Hardware :: Mouont Exfat Drive In Fedora 12?

Feb 20, 2011

I'm a bit of a total n00b when it comes to Linux. I recently installed fedora 12 and I have this partition that I formatted in windows 7 using exfat and cant mount it.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved