General :: Fedora 15 To Automount Media With Non-root Permissions?
Jun 13, 2011
I'm Ubuntu ex-fan (because of gnome-shell).
On Ubuntu, there was this very sane feature (for laptop/desktop user): when you insert a thumbdrive or external usb media, the system mounts the media and sets all the correct permissions for the current non-root logged in user.
What do I have to change/edit/configure to make Fedora 15 behave like this?
View 1 Replies
ADVERTISEMENT
Jul 11, 2011
When I insert a CD/DVD, it is auto-mounted in /media, but the folder beneath /media has permissions of 500. This is a pain when sharing the drive over the network using CIFS. Anyone know how to change the auto-mount permissions to 555?
This is in Ubuntu 10.10
View 8 Replies
View Related
Jun 8, 2010
New to Linux, want to tinker around but cannot figure out how to get root permissions to my login, or login as root (can do this in terminal, but that is not much help for the rest of the environment I am working in!).
View 19 Replies
View Related
Jul 21, 2011
I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect.
Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands such as pvcreate,lvcreate,vgcreate, especially if the hard disk is not encrypted.
View 1 Replies
View Related
Oct 23, 2010
I just installed slackware 13.1. And I get the following error with a normal user when I connect my memory stick:
Failed to mount "Crucial". Rejected send message, 1 matched rules; type="method_call", sender=":1.211" (uid=1000 pid=2275 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1723 comm="/usr/sbin/hald)).
When run the command groups the user is member of the following groups: users floppy audio video cdrom plugdev power scanner
What else I need to change so the USB works?
View 2 Replies
View Related
Jan 30, 2010
I was wondering, what if you had a flash drive formatted with an FS that has UNIX permissions. Then what if you copied some of your files onto it. And then put it into another computer that has a user account by the same name. WIll the user be able to access the files?What if you named your own user differently on the other computer, will you be able to get your files?
View 14 Replies
View Related
Apr 28, 2010
I have Suse 11.1 and am running a customized server on it that will take care of mounting/unmounting media (DVD, USB key, etc) on its own ..How can I get Suse to stop mounting the media automatically when I insert a dvd into the drive or plug in a USB key? I already got it to stop opening a window showing the contents, now need to get it to stop mounting automatically ..
View 5 Replies
View Related
Mar 14, 2010
I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.
I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.
View 2 Replies
View Related
Apr 28, 2010
I just installed openSuse 11.1 and it automount the media and opens a window for it. I got the window to stop opening, how do I get it to stop automounting the media?
View 9 Replies
View Related
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
Apr 17, 2010
I cannot change things in files because I get, you do not have permission, you are not the owner. Root is the owner, so how can I get permission ?
View 4 Replies
View Related
Jul 24, 2010
after a fresh install of fedora 13 I was expecting a few niggles and here's one, I've googled and read man chmod and chown and there seems to be plenty of conflicting advice, oh yeah the problem, I installed a package called get_iplayer (allows downloading of bbc iplayer content) via yum, only thing is I can only run it as root whereas in f12 I could as a normal user. It's probably the simplest command to change permissions, also I can't find any info on what the different numbers mean (775 777 etc)
View 11 Replies
View Related
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
Oct 29, 2009
Get Fedora 11 and Apache installed. Open web browser and enter http://localhost and I get a "Fedora Test Page" that shows Apache is working (according to the info on the page). It says to put my web documents in /var/www/html/ ... however, as a user I cannot access it (put anything there) and I can't change the permissions (belongs to root) I'd like to run this as an intranet web server in our small ( <100 users) company.
View 6 Replies
View Related
Jul 12, 2010
I've got some troubles when I try to install Vim on Linux while I don't have a root account. The error information is shown below: How can I solve this? Can I install it in another directory other than /usr/local/bin/vim?
View 2 Replies
View Related
Mar 24, 2009
Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?
View 3 Replies
View Related
Mar 23, 2011
I was unable to change the permissions for root node and for other users also. WE have tried all the possibilities like chmod and chmod -R 777 filenem. But we are unable to change that.
View 4 Replies
View Related
Mar 20, 2011
when you attache a pen drive with windows you can drag from the pen drive to the desk top, and visa versa. with Linux logged in as normal user I can drag files from pen drive to Desktop but not the other way around. my pen drive is TITANIUM and at /dev/sdb1 mounted at /media/TITANIUM so I have to use
cp /home/user/Desktop/file /media/TITANIUM as root
If I log in as root I can drag files from pen drive to desktop and also from Desktop to pen drive. is there an easy way to give permissions for normal user. I had a look a groups and it has scanner, printer etc listed ,can I amend groups somehow to enable same permissions for pen drive access as root?
View 4 Replies
View Related
Aug 10, 2011
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies
View Related
Nov 22, 2010
I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:
sudo find readme* -not -perm -o+r -exec chmod +r {} ;
and get this:
sudo: unable to execute /usr/bin/find: Success
I don't know why it says Success, because the permissions were not changed. I verified by typing this:
find readme* -not -perm -o+r -exec ls -l {} ;
and get something like
-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859
as a last resort, I tried:
sudo chmod +r *
and got:
sudo: unable to execute /bin/chmod: Success
and again Success really means fail. So, I gave up and logged in as root and tried:
find readme* -not -perm -o+r -exec chmod +r {} ;
This time it worked. Why?
EDIT: /etc/sudoers looks like:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL
View 2 Replies
View Related
Mar 21, 2010
I'm using ubuntu 9.10. I used the command:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:
Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted
[Code].....
View 5 Replies
View Related
Jan 21, 2010
How do I configure permissions and ownership [aka, access control] for USB and other "media" drives? In general, I want the plain user to have read-write-modify access. For the long haul, I would prefer some sort of config table that says this media gets those access settings on an individual basis.
While on the subject of "media" drives, how do I configure where a drive gets mounted? It appears that the defaults is /media/someString where "someString" is either a generated string or the volume label. Is this accomplished by a script somewhere that I might modify or configure?
I login using my personal, non-root account. When I connect a USB or other "media" drive, the permissions and ownership are such that I cannot use the desktop tools to alter the drive contents. Also, I need to guess where a given drive contents can be found.
View 7 Replies
View Related
Feb 26, 2011
I'm trying to familiarize myself with LXDE to help a friend of mine and one thing I just cannot solve, despite many googles, is how to allow a non-root user to auto-mount drives in the left-hand pane of PCMANFM.Everything works just fine as long as I have the root passwd. Not a huge problem but very irritating none-the-less.
View 9 Replies
View Related
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
Jun 20, 2011
i want to know the risk with auto mounting flash drive as a root user,if for example there is a Usb Flash drive inserted into the system and we login into root unknowingly, and this flash drive contains an autorun script which calls a new script that can place viruses in your system, since you are in the root it will not even prompt for password and if the script is fast enough you will not even see it executing.
View 7 Replies
View Related
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
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
View Related
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
Jul 11, 2011
I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?
View 7 Replies
View Related
Jun 16, 2010
How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .
View 10 Replies
View Related