General :: Automatically Set Write Permissions On Mounting A Usb Drive?

Aug 15, 2010

When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.

Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?

View 2 Replies


ADVERTISEMENT

General :: Automatically Mounting With Wide Open Permissions A FAT Formatted USB Flash Drive?

Feb 18, 2011

I have a netbook running Ubuntu Netbook Edition and I would like a USB flash drive to be automatically mounted whenever I plug it in. The drive is FAT formatted. It mounts when I plug it in but all files are only writable by my user, other users only have read access. I understand that I need to add a corresponding entry to the /etc/fstab file. I've added the following so far:/dev/sdb1 /mnt/USB_DRIVE vfat

Firstly, is that appropriate so far? I've created /mnt/USB_DRIVE as root. Next, I'm not sure what options I should be finishing the line with, especially to get all users to be able to write to the drive.

View 2 Replies View Related

General :: Mounting Ext2 Partition With Write Permissions?

Oct 25, 2009

I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.

/etc/fstab:

Code:

# Filesystem: Mountpoint: Type: Options: Dump: FSCK:
/dev/sda1 / ext4 defaults 1 1
/dev/sda5 swap swap defaults 0 0

[code]....

can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option" I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options?(e.x. if I try to mount /dev/sda6 with: mount-o auto,user,exec,rw,async. Will it mount with async or sync?)

View 1 Replies View Related

General :: Mounting Windows Drive Automatically In Ubuntu?

Mar 16, 2011

I have dual boot on my laptop. First OS is Windows XP and second is Ubuntu 10.10.

When I click on places menu in Ubuntu, I can access Windowz XP Drives.

If I access some pdf file or document while in Ubuntu which is in Windows XP Drive, then it will come in Recent Document in Places menu.

Now I restart Ubuntu and click on Recent Documents and click on the document which I accessed in last session ( before restart ).

It says Unable to Open Document.

Then I click Places again and access my Windows XP drive. Then again I click Recent Document and click on document, I am able to open the document.

My guess is this happens because my windows drives are not mounted automatically when I start Ubuntu. How can I mount Windows drive automatically when I start Ubuntu.

View 2 Replies View Related

Hardware :: Phone And Memory Card Auto Mounting With Write Permissions

Feb 4, 2010

Few weeks ago modified my old mobile phone SE k750i by setting on it w800i firmware. After this my phone isn't really (fully automatically) recognized by Ubuntu (9.10) which is the small problem for me now. Linux recognizes it as a USB device, but doesn't automatically mount it, which is why I have to do that manually and that leads to read only permissions for my user.

Here are the few outputs:

lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0fce:d028 Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb .....

I've tried to create a custom udev rule via this thread, by putting the correct information according to lsusb:

Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d028", MODE="0660", OWNER="zivs"
and reloading the udev rules, but that didn't help also.

How could I make my Ubuntu mount the /dev/sdb1 (which is my phone's memory card, since manually mounting it, there's all my phone recorded stuff) automatically on Desktop with all read and write permissions when I connect my phone to computer? Phone gets recognized immediately on Win7 OS ... but after the firmware change it's not really recognized by Ubuntu anymore.

View 1 Replies View Related

Debian :: Mount Partitions With Read/write Permissions Automatically As The Systeme Starts?

Dec 10, 2010

I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?

View 2 Replies View Related

CentOS 5 :: 250 GB USB Drive (Fat 32) Not Mounting Automatically?

May 11, 2009

I'm running:CentOS release 5.3 (Final)

when I plug in a Small USB key, hotplug sees the new device, mounts it in userspace and creates a link on the desktop. The user can open the link and read and write to the USB key. I have tested 3 different usb keys and they all work. When I plug in a USB 250 GB drive (Lacie), also fat32, it doesn't mount:

May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB)
May 11 12:25:29 tinkerer kernel: sdf: Write Protect is off
May 11 12:25:29 tinkerer kernel: sdf: assuming drive cache: write through
May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB

However, I can mount the drive manually as root. The problem is that the user cannot write to the device if it's mounted by root.Is this a problem with hotplug/udev or another way that I can make this device available rw to the user?

View 2 Replies View Related

Fedora :: Mounting 2nd Drive With Permissions For Any User?

Feb 25, 2010

I looked through the guides and didn't find what I was looking for. Here is what I have so far:

[Code]...

That's the drive I am wanting to mount with full permissions for anyone. Right now the folder only has root permissions. Is there a specific group ID I assign this in fstab so it's automatically mounted with full permissions for anyone who logs in?

View 14 Replies View Related

Ubuntu :: No Write Permissions One One Drive?

Jun 18, 2010

i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions

View 9 Replies View Related

Hardware :: Mounting One USB Drive Automatically Unmounts Other

Feb 6, 2010

I just formatted my iomega 250 gb external HD to ext3. This is where i store media, such as music. What I am attempting to do is take all the music from my 5th gen 80gb ipod (rockbox firmware), and transfer it back onto my external drive, as all my data was (naturally) erased during the format. However, as soon as I plug in my ipod it mounts as usual... but after about 15-20 seconds my external drive unmounts. When i do a 'sudo mount dev/sdc1' it says sdc1 does not exist. How can i fix this? what is the problem? I have my ipod set on /dev/sdd2 and the external drive at /dev/sdc1, each with their own mount point. They each work perfectly independently. I have tried switching usb ports around and rebooting.

View 3 Replies View Related

Fedora :: Mounting Windows Server08 From Fedora 8 With Read/write Permissions?

Oct 7, 2009

I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.

fstab file (some, without the asterisks):
//10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0

I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.

[root@localhost tmp10]# mkdir tmp2
[root@localhost tmp10]# cd tmp2
[root@localhost tmp2]# touch tmp
[root@localhost tmp2]# ls -l

[Code]...

View 3 Replies View Related

Ubuntu :: Auto Mounting Ntfs Drive With Execute Permissions?

May 10, 2011

Current when my NTFS external drive is auto mounted, I can't run any executables from it.

If I unmount it and then manually do:

sudo mkdir /media/portable
sudo ntfs-3g /dev/sdc1 /media/portable

it works fine. Is there a way to make the auto-mount have "full" access so I can run applications from it?

View 2 Replies View Related

Software :: Setting Read / Write Permissions For External Drive?

Mar 31, 2010

I am using sun micro system. We have installed fedora in that. I want to know how to give R/W permission to a external hdd...

View 1 Replies View Related

Hardware :: Mounting External Usb Hard Drive NTFS In Write Mode

Feb 17, 2010

I have a problem in auto mounting external usb hard drive in write mode.

I'm using Debian Etch.

# /etc/fstab: static file system information.

Writing to etrenal USB hard drive doesn't work:

View 7 Replies View Related

Networking :: Mounting Permissions Error / Mounting A Windows Host?

May 28, 2009

I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:

Code:
$mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp
password: (I have no password so I left it blank)
Mount error (13): Permission Denied
I tried all sorts of passwords we use around the office and none of them worked.

I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?

View 11 Replies View Related

Ubuntu :: External Hard Drive - Error "read / Write Permissions" On The Folder Properties

Dec 16, 2010

i borrowed an external hard drive from my friend to back up a load of stuff on my windows partition before reinstalling it. I am doing this through ubuntu. I am trying to zip up folders like My Documents etc and chuck them on the external hard drive but it always comes up with errors to do with read/write permissions. In the permissions tab on the folder properties of the ext hard drive it says I am owner but i have no file access (only folder access is create and delete files). When i try to give myself read/write permission it just goes straight back to nothing when i look at it again.

View 2 Replies View Related

General :: Can't Write File Despite Proper Permissions

Mar 29, 2010

Under debian i did this:

casey@t400:~/programs$ ls -l
-rw-rw-r-- 1 root root 2071 2010-03-28 05:15 urlgetter.cpp

Then

casey@t400:~/programs$ gedit urlgetter.cpp

and upon attempting to save the file, I get the error

"Could not save[...] You do not have the permissions necessary to save the file."

but I am a member of the group root:

casey@t400:~/programs$ cat /etc/group | grep root
root:x:0:casey

View 2 Replies View Related

General :: Automatically Mounting Windows Share In Fedora 12?

Apr 8, 2010

I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12).When I manually mount things work:mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/serversIf I update /etc/fstab with the following://nas01/servers /mnt/nas01/servers cifs username=guest,password=myPassword 0 0Nothing happens after reboot. The thing that has me baffled is after a reboot if I run:mount -aThe share is mounted.

View 3 Replies View Related

General :: Mounting A FAT32 Memory Stick With Wide Permissions?

May 8, 2010

I'd like to plug a USB FAT32 formatted memory stick into my Linux laptop and have it mount automatically as it does now but with wide open permissions. At the moment it opens with files only being readable and writable by the user but I would like other uses to be able to read and to write to files (i.e. I use Apache to serve a site from the stick for development purposes).If it matters I am running Jolicloud on a netbook.

View 1 Replies View Related

General :: Samba Share Not Permissions Not Automatically Added?

Jun 12, 2011

I have a samba shared folder in my flash disk. Yesterday I installed ubuntu 11.04 and now sharing is not working any more. I do the usual procedure (that worked so far), I right click my folder > sharing options and tick "share this folder" as well as "Allow others to create and delete files in this folder" but I dont get the usual messages asking to add permissions automatically.When I try to mount my folder in another pc with linux, I get permission denied and that the folder is only readable and in another, windows cannot find the network path to my folder.My folder has about 10.000 files. asking to add permissions automaticallyI created another folder on the same flash and when I create share I get the message asking to add permissions automatically but it is not visible either. I even cant see my folder in "my places" > network, so it is not a matter of the mounting command

View 1 Replies View Related

General :: Start Up Script Permissions Automatically Changed

Jun 21, 2010

One of our client was complaining that their server was down and mysql and apache services were down. The server is Ubuntu 8.04. When we checked, the permissions of /etc/init.d/mysql and /etc/init.d/apache2 were changed to 644 from 755. How could this be possible?I need your valuable suggestions on how can i monitor whether any malicious intrusions or scripts are running.

View 2 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Find All PHP Files With Group Write Permissions?

Jun 23, 2010

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?

find -name "*.php" -perm g-w

View 1 Replies View Related

General :: Set A Group With Default Read & Write Permissions?

Jun 14, 2011

What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.

So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".

Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server

View 3 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

General :: Give Write Permissions To Multiple Users On A Folder In Ubuntu?

May 9, 2011

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document. I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using setfacl: sudo setfacl -m u:ruser:rwx document

but this gives me setfacl: document: Operation not supported error.

View 1 Replies View Related

General :: Write A Short Script That Tells Whether The Permissions For Two Files Whose Names?

Apr 4, 2011

Write a short script that tells you whether the permissions for two files, whose names are given as arguments to the script, are identical. If the permissions for the two files are identical, output the common permission field. Otherwise, output each filename followed by its permission field

View 5 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

General :: Dvd Drive Keep Mounting Incorrectly / Fix This?

Nov 27, 2010

Running Slackware 13.1

Whenever I insert a dvd or a cd, it automatically mounts to /media/[name], Like for example, the DVD I have in now mounts to /media/TBC3.2.0 (TBC3.2.0 is the name of the disc itself).

I'm needing this to mount to a regular point like /media/cdrom0 or whatever. How can I fix this?

View 2 Replies View Related

General :: Flash Drive Is Not Mounting

Sep 17, 2010

I have a new flash drive (pen drive) .Last few days it work fine .But now when i plug it in usb port , then a error message appear "unable to mount media.There is probably no media in the drive" .

View 4 Replies View Related







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