Ubuntu :: No Write Permission On Pendrive After Automount

Aug 14, 2011

cat /etc/fstab
mount
ps -A
ls -al /media/
dmesg
groupsfootnotes

My problem:
When plugging in a pen drive it will be automounted, but only root (who owns it) has write access to it. Other users only have write access. (Neither my user, nor an unmodified test user)

My aim:
I want to be able to write on my pendrive without any additional manual work after plugging it in (iirc that is default on a standard ubuntu install).

Possible causes:
I once had a time where I wanted everthing to be minimal. Might be, that I removed something in connection with my problem. I reinstalled everything that came to my mind and could be connected to that problem w/o success. I merely removed stuff than editing stuff (never touched /etc/fstab or /etc/udev/rules.d/*). S
So I think I am missing some kind of service, that manages my (user?) permissions or so.

I use:
Ubuntu 10.04 (initially a kubuntu but I remove nearly everything Qt/KDE stuff) fluxbox (but most gnome services are active).

I tried/checked:
check my automount setting[1] - did not change the behaviour
media_automount - is checked
media_automount_open - is checked
usbmount - is installedntfs-config - did not help (even after reboot)
manual mount[2] - worked, but i don't want to do that everytime I plug in a pendrive
gksudo users-admin (made sure that amongs others the following entries are checked)
Access external storage devices automatically
Administer the system
Mount user-space filesystems (FUSE)

I didn't try:
chmod - seems to be only used for ext* fs
edit /etc/fstab - seems not to be supposed for such variable things like pendrives
- changing file systems for same pendrive
- different number of pen drives
- every pendrive needs its own fstab entry
udev rules - I was told to write some, but I am reluctant because- I never did that before (so I also didn't mess them up)

Additional info:
Code:
benedict@box:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier for a device; this may be used with UUID= as a more robust way to name devices that works even if disks are added and removed. See fstab(5).....

View 4 Replies


ADVERTISEMENT

Debian :: Write Udev Rules In Order To Automount Usb Pendrive?

Oct 9, 2010

im using Debian (lenny) with 2.6.26 kernel, I'm trying to write udev rules in order to automount my usb pendrive, so I added this rules in udev:

SUBSYSTEM=="block", SUBSYSTEMS=="scsi",ATTRS{vendor}=="OTi ",
ATTRS{model}=="Flash Disk ", NAME="penna128M",RUN="/usr/bin/
pmount /dev/penna128M"

I use pmount to install the device as normal user If i connect my device to the usb port I don't see nothing in /media/penna128M, BUT giving at the prompt cat /etc/mtab the last line is:

/dev/penna128M /media/penna128M vfat rw,noexec,nosuid,nodev 0 0

The line in fstab about this pendrive is:

/dev/penna128M /media/penna128Mvfatdefaults,user,owner,auto00

View 5 Replies View Related

General :: Automount/unmount Usb Pendrive On Lenny (minimal)?

Oct 30, 2010

I need to configure udev to auto-(u)mount usb pen-drive on my minimal lenny (No X,hal,etc, only udev). kernel correctly detect :

Code:

[287909.514127] usb 1-1.4: new high speed USB device using orion-ehci and address 4
[287909.635454] scsi1 : usb-storage 1-1.4:1.0
[287910.635307] scsi 1:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 0 CCS
[287910.648078] sd 1:0:0:0: Attached scsi generic sg1 type 0

[code]....

But I would like an hot-plug automount like in my ubuntu desktop, on /media/{us_label_or_uuid}

View 1 Replies View Related

Ubuntu :: Unable To Automount Ntfs Drive Without Root Permission

May 11, 2011

I have the following line in my fstab:

Code:

# external hard drive
UUID=4DDD273633F3859D /home/ross/external ntfs-3g auto,exec,user,uid=1000,gid=100,dmask=027,fmask=137,utf8 0 0

When I plug in the drive with this UUID, I get the following error:

Code:

Error mounting: mount exited with exit code 1: helper failed with: Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at [URL] Is there any way that I can mount this drive (which must be ntfs-formatted) without root permissions? I have googled this error and it seems that many other people are having this same problem, but I can't find a real solution. Most people suggest just reformatting the drive.

View 6 Replies View Related

OpenSUSE :: HAL - Permission Denied To Automount External USB Storage

Nov 2, 2010

11.3 in use with KDE. When I plug in an USB stick or my HTC phone into the USB connector the device is recognised but can't be opened in dolphin. This is the error message:

Code:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-removable
auth_admin_keep_always <-- (action, result)
but the device is shown in dolphin as a removable device and

Code:
# lsusb
Bus 001 Device 005: ID 0bb4:0ff9 High Tech Computer Corp.

View 9 Replies View Related

Networking :: Samba Automount With Full Read / Write Permissions

Mar 24, 2009

I have 4 machines; all multiboot. I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's. I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines? I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.

View 1 Replies View Related

Fedora :: Config Automount Process To Put All My Usb Devices In Write-back Mode As Default

Oct 18, 2010

I am looking for info about how works automount process, and i didn't find info about the tollowing ...

I wonder ... how can i do to "config" automount process to put all my usb devices in write-back mode as default ... for example ... what file can i change? ... how to do it ?

And another one ... um... how to say to "automount process" ... to put my usb devices into a "deadline" io scheduler .. for example ... how to set io-scheduler for an automount device ?

View 1 Replies View Related

Ubuntu :: Get Write Permission To A Directory?

Feb 21, 2010

I tried to read the File Permissions page on the wiki and my eyes glazed over after about three sentences. I've got a folder called /var/www/pics that I just want to be able to save image files to. My only other choice as I understand it is to save them to my home folder, then use a "sudo mv" command to copy files to that directory. How do I give my account permissions to save a file in that directory?

View 2 Replies View Related

Ubuntu :: Permission To Write INSIDE A Directory?

Mar 9, 2010

How do I use "chmod" command so that it allows me to write a file inside a certain directory ? This directory has permissions in the formdrwxr-xr-xOnce I try to write a file there, it says "Permission denied" ! Don't advise to use "sudo", since the file is created by some executable program compiled from a source code. If I was creating the file myself, I wouldn't have gone to this forum.

View 4 Replies View Related

Ubuntu Security :: Wordpress Permission To Write To Files?

Nov 9, 2010

I am having difficulties assigning permission for wordpress to write files. I am having problems with the permalink within wordpress and I think it might be because of the level of permission wordpress has. Currently on my system I need to set permission to 777 in order for wordpress to write to the .htaccess file.

I am running my website on a Ubuntu machine. Version 10.10 Apache2 2.2.4

However, when I leave the permission level set to 777 I still cannot get the permalink to point to the corrent page......See my discussion on this here. [URL]

I think what I need to do is change wordpress to use a user permission or a group permission and not "everyone". I would rather have wordpress setup to login as a specific user before it can write over a file.

View 5 Replies View Related

Debian :: Np Permission To Write To Certain Folders?

Apr 7, 2010

why can't I copy files to my plugins folder for IceWeasel ?? I'm using Debian (Lenny I think) for PPC & I'm getting I don't have permision to write to the directory when I'm logged in as admin?

View 6 Replies View Related

Ubuntu Security :: Write Permission To Mounted File System?

Feb 1, 2010

I just found that I could perform write operation using a normal user account to a file system I mounted with the commands as followed:

sudo mount -t ntfs /dev/sda1 /mnt/disk/

This is the corresponding entry in the output of "mount" command:
/dev/sda1 on /mnt/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

As far as I remember, when using a normal user account, I had to use "sudo" to perform any write operations (mkdir, rm, etc) to a device mounted using "sudo". But now it seems to be changed.

Do I remember wrong, or did Karmic have any updates change this setting? (I never manually changed user settings, except that I added a root user, but I never used it.)

OS: Karmic(up2dated)
Kernel: Linux stephen-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

View 4 Replies View Related

Ubuntu :: No Write Permission Even Though User Is Member Of Folder Group?

Oct 29, 2010

I'm having an odd problem (although I'm probably missing something obvious to a non-semi-newbie):I have a directory used for samba shares which is owned by user fred, a system user which the windows clients on my network authenticate with to access the shares. I, roger, want to access the directories without having to put my 'sudo boots' on every time, so I made the directory group users and added roger to that group, and changed the file/folder modes from 0755 to 0775.However I still do not have write permissions inside the directory; I still seem to be considered 'other' and hence only have read and execute.

View 6 Replies View Related

Fedora Servers :: Samba - No Write Permission

Jul 25, 2011

I just have installed Fedora 15 to use it for multimedia server. I have installed also samba. Now I'm trying to access it from another PC (Windows 7) and I have no write access.

Code:
[root@echo mnt]# ls -l
total 12
drwxr-xr-x. 2 root root 4096 Jan 1 2006 boot

[Code]....

i just read whole internet (i have spend over 6h for reading and testing a lot of options and nothing...)

View 9 Replies View Related

OpenSUSE Network :: NFS Permission Denied When Trying To Write?

Jun 29, 2010

i have client and server PCs, both with openSuse 11.2.

on the server side, i have mounted HD partition to /vmshare dir. relevant line in /etc/fstab reads:

Code:
/dev/disk/by-id/ata-WDC_WD3200AAJS-07B4A0_WD-WCAT16493946-part2 /vmshare reiserfs user,acl 1 2
i want to export /vmshare dir via nfs. i have configured it through yast and resulting line in /etc/exports reads:
Code:
/vmshare *(rw,root_squash,sync,no_subtree_check,crossmnt)
the permissions for this directory is drwxrwxr-x root vmshare.

i can successfully mount the exported dir on client side, i can move between directories and list contents, but i can't write into it (not even as a root). on the server side, i can write to the directory only as root. the vmshare group is created on both machines with same gid as well as all users have same uids. firewalls are down.y.

View 3 Replies View Related

General :: File Permission. Write And Execute Only?

Jan 11, 2011

Is there any use if a file has only write and execute permission and not read permission?

View 2 Replies View Related

General :: Remove Group Write Permission?

Oct 22, 2010

How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days. This is what i got from internet souce but i m not able to modify it according to my distribution. find /etc -perm -0070 -a -mtime +X ! -type l?print Here is the exact statement from link i m referring to.

[Code]..

View 3 Replies View Related

General :: No Write Permission To Store Packages

Dec 31, 2010

I have tried to 'makepkg -s' easy-e17 in a few different places, but to no avail. I get the error:
Code:
ERROR: You do not have write permission to store packages in /bin/easy-e17.
Aborting...

Though, I also get this error for any other directory I try in. When trying with 'sudo' I am told that it is a "bad idea." I have never used makepkg before, so whatever is wrong might be obvious; I have never "fine-tined" my makepkg.conf before, either. Probably not relevant, but just in case: easy-e17 is a group of files from the Arch User Repository for installing Enlightenment (DR17). Perhaps there is something I need to install in order to make packages from the AUR? Or does that sound ridiculous? I wouldn't know.

View 3 Replies View Related

Server :: Write Permission For Users On NFS Folder?

Dec 28, 2010

I have setup a NFS server and this the content of /etc/exports at the server with IP A.B.C.D1 is:/home/shared A.B.C.D2(rw,no_root_squash)Problem is, only the root at A.B.C.D1 and A.B.C.D2 can write to that folder.

View 9 Replies View Related

CentOS 5 :: Ftp Access And Write Permission On Www Subdirs

Apr 24, 2011

Which ways are creating an ftp account (not root or special) eg. with proftpd, where logging in with that ftp, user can access and write given www subdirs content.

View 6 Replies View Related

Ubuntu Servers :: Running Php Files Without Setting Read / Write Permission?

Jun 26, 2010

On an Apache2 server someone else setup, I have a folder with drwx--x--x permission and the php file can still write in the folder. But on my own setup, I need to set the same folder to drwx--x-wx. Inside the folder, I have a index.php that runs just by setting rwx--x--x but on my own setup, I need to allow read permission for others/group before it can run: rwxr-xr-x (or else I get a blank page). I tried changing the folder and files to root but it's the same.

View 5 Replies View Related

Ubuntu :: Edit Options To Force Mounting With Write Permission To User?

Dec 29, 2010

I am digging the forum through and cannot find the answer. My problem is, the usb hard drive when plugged in get automatically mounted what is great. Unfortunately I get only read permissions, while need write too.There are no any entries in fstab, so I do not know what does handle automounting and how to edit options to force mounting with write permission to user (root obviously can write). Are they hald options or any other app does this? Where to edit them? The drive is not permanently ON, just switch it when need, so it has to work every time I put it on.

View 8 Replies View Related

Debian Configuration :: No Write Permission For Users In Media?

May 1, 2011

jeff@optiplex:/media$ ls -l

total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0

[code]....

View 10 Replies View Related

OpenSUSE Hardware :: Ext4 External USB HD No Write Permission?

Apr 29, 2010

I switched a external 500GB usb HD from FAT to ext4, because the box it's on no longer has windows.It mounts fine and I can read it - but not write.I have some inkling as to what to do, but prefer your opinions first.

View 9 Replies View Related

General :: Group Control - Read & Write Permission ?

Dec 21, 2010

I have a file the owner is root:root ( mode is 644 ), I want to release read & write permission to a non root user ( eg. admin_usr ), I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work, if preserve the file mode to 644 , is it ok? how to do it if I want to have read & write permission in my case ?

View 5 Replies View Related

Ubuntu :: Mount Dir Using Smbfs To Windows Share Can't Write To File Permission Denied?

Jun 19, 2010

Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.

View 4 Replies View Related

General :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

General :: Unable To Set Write Permission On Vfat Formatted Partition

Dec 20, 2010

I have 250 GB HDD, 150 GB has CentOS installed,I have formatted the rest 100 GB in vfat, mounted on /data/ folder, now the issue is only root have the write permission on that folder, i have tried all the commands, however i have reformatted it with ext3 and now issue is resolved, i just want to know that why it is not possible to set the permissin to everyone +w on vfat partition.

View 1 Replies View Related

Fedora :: Non-root Users Have No Write Permission On Ext3/ext4 Partitions?

Apr 7, 2010

I created 3 partitions on my usb stick, one is vfat, one ist ntfs and one is ext4.And i formated them like this:

Code:
mkfs.vfat -F32 /dev/sdg1
mkfs.ext4 /dev/sdg2

[code]....

View 2 Replies View Related

General :: Removing Write Permission Does Not Prevent Root From Writing To File

Feb 3, 2010

I just noticed on my Ubuntu machine (ext3 filesystem) that removing write permissions from a file does not keep root from writing to it. Is this a general rule of UNIX file permissions? Or specific to Ubuntu? Or a misconfiguration on my machine? Writing to the file fails (as expected) if I do this from my normal user account.Is this normal behavior?Is there a way to prevent root from accidentally writing to a file (Preferably using normal filesystem mechanisms, not AppArmor, etc.)

I understand that root has total control over the system and can, eg, change the permissions on any file.My question is whether currently set permissions are enforced on code running as root. The idea is the root user preventing her/himself from accidentally writing to a file. also understand that one should not be logged in as root for normal operations.

View 4 Replies View Related







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