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
ADVERTISEMENT
Jun 25, 2010
by default fedora 13 mounts the drive under /media/uuid, with no read or write access to users other than root. I need to be able to turn the drive on, have it automount so that I can read and write to it without logging in as root every time and dealing with changing permissions on files, etc.
In other distributions, this has worked flawlessly, but I'm not familiar enough with Fedora 13 yet to get it working. I've read the man pages, tried to search, but I can't seem to find a working answer,If I could get this one little inconvenience fixed, I'd be set... loving Fedora so far.
View 2 Replies
View Related
Jan 11, 2010
I have looked at a LOT of forum posts and other sites trying to solve this problem but I have had no luck. I've seen the following:[URL].. I have an entry in my fstab that lets root mount a samba share on a Windows Server 2003 machine and gives users full read/write access to the share. The fstab entry looks like:
Code:
//servername.net/share /mnt/share cifs rw,user,umask=000,username=someuser,noauto,file_mode=0777,dir_mode=0777 0 0
However, when a normal user tries to mount the share they get one of two errors:
1. If I have /sbin/mount.cifs set to 777
Code:
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
2. If I have /sbin/mount.cifs set to +s
Code: mount error: permission denied or not superuser and mount.cifs not installed SUID Does anyone have any suggestions as to how I would go about getting a user able to mount this samba share?
View 1 Replies
View Related
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
View Related
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
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
Apr 25, 2011
This is the command I tried using:Code:mount -t cifs //NAS1/reports /home/user/public_html/reports -o rw,umask=0338,uid=587,gid=584,username=admin,password=passwordIt looks like the user can't access the files on the NAS drive. Is there any way to do this?
View 6 Replies
View Related
Feb 12, 2010
I hope I won't get bashed too much on my first post here. The problem I'm experiencing seems to be well known, yet I haven't come across a definite solution to it while searching the forums. I've got an external drive connected to my laptop via eSATA. When I want to mount it as a normal user from GUI level, I'm required to supply the root password since apparently the system's policy doesn't allow external drives partitions to be mounted.
The closest solution to what I would like to achieve is given by giulix in this post. Yet, with the polkit-gnome-authorization utility removed from Fedora 12 (at least so I've heard on mailing lists), it's difficult to find out where to start in terms of policy editing. What I would like to have is being able to mount this volume as a normal user from GUI level. I know I could just add an entry to /etc/fstab, but it just seems so old-fashioned and tacky, and besides, it's not, um, "dynamic" and wouldn't utilize hal and dbus, so I wouldn't have an icon on the desktop. (it's not really the reason, I'd just like to have things done the way they should be right now).
View 3 Replies
View Related
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
Feb 11, 2010
I'm running OpenSuse 11.2. I've got it running mostly the way I want and it connects to my wireless internet no problem. I have a external hard-drive on my Windows machine setup as a share folder. I can mount the drive with:
Code:
mount //10.13.23.2/D /home/james/mnt/win However when I do mount like this it doesn't give my any read/write privliages on the drive. Also on a slightly different issue but still mounting related I have my HDD partitioned into four main drives (not including swap etc). They are my Windows drive, a seperate storage partition formatted for Windows, my main linux drive and a seperate parition for linux storage.
I want to have my Windows drive, my Windows storage drive and my linux storage drive all mounted on boot. I tried adding these to fstab, and they mount fine but again I have no read/write permissions. My fstab looks like this:
Code:
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part6 / ext4
[code]....
Lastly I would like my Windows Share drive to mount on boot but I have been advised that I would need to write a shell script for this, to do network checks as obviously I won't always be connecting to my network.
View 6 Replies
View Related
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
Jul 4, 2010
When i use the "Places" menu to try to access the other partitions on the same hard-drive i get a pop-up box asking me for the Root user password. Is there any way to mount it without? The normal user is now in the sudoers group but really i don't think i should be asked for authentication at all?
View 3 Replies
View Related
Mar 11, 2010
Been running 64 bit fedora for a few weeks now and all is dandy. I have been having problems using Wine & Winetricks to install extra components. Wine seems to crash when ever i try to run something as a standard user. Run as root and the problem doesnt happen. Do i need to add some permissions to run under a standard user? With Winetricks, when i go to install any componet, after extracting and installing all files i get:
'Executing early_wine regedit c:winetrickstmpoverride-dll.reg
regedit: File not found "c:winetrickstmpoverride-dll.reg" (2)
Note: command 'early_wine regedit c:winetrickstmpoverride-dll.reg' returned status 1. Aborting.'
Now i have searched everywhere for these .reg files that are not found, havent found anywhere that can tell me where to retrieve these files.
View 2 Replies
View Related
Jan 27, 2011
I can't seem to mount my local VFAT partition with username ownership; it is consistently mounted as daemon. I've tried to CHOWN and CHGRP the mount point of /media/SHARED (its location), but that doesn't work. I should include the reason in case you have other suggestions that are alternative to changing ownership on the mounted VFAT drive:
In my old Fedora 9, I ran Eudora under Wine. The program lived on my VFAT partition. I could hence run Eudora under both Windows and Fedora, which was really nice - even though I hardly boot into Windows anymore. While I did notice the username and group name were the same as they are under Fedora 14 fstab mounting - daemon - it still worked without a hitch. To note, the partition was also automounted in Fedora 9 in fstab.I just upgraded to Fedora 14. When I automount the drive through fstab, Eudora will not launch. Yet when I manually mounted the drive (and I noticed that the username and group are my local username, not daemon), Eudora launches fine. So while my solution, mounting the drive manually when Fedora 14 starts, does in fact work, it is a bit of a pain. Luckily I don't reboot too often!
In any case, I wanted to see if anyone has any suggestions. Maybe it's just a mounting syntax issue; but as for mounting syntax in fstab, I used the same line as my F9 fstab.The line I used was: /dev/sda3 /media/SHARED vfat umask=0000,dmask=0000,uid=0002,gid=users,users 0 0
View 1 Replies
View Related
Nov 27, 2010
I am new user for redhat linux.I tried to install oracle 10g on rhel 5 using vmware.every time i am getting an error message permission denied
[oracle2 localhost tmp]$ cd database_10201/
[oracle2 localhost database_10201]$ ls
doc install response runInstaller stage welcome.html
[oracle2 localhost database_10201]$ sh r
response/ runInstaller
[oracle2 localhost database_10201]$ sh runInstaller
runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied
how to give all set of permissions to an user for accessing a folder..
View 1 Replies
View Related
Dec 18, 2009
I have an 320GB hard drive with F11 installed. Lately, I got a 1.5TB new hard drive, on which I have installed F12. Now I want to use the 320GB as a second hard drive since I have lots of data on it. My question here is as I boot my desktop, how does it recognize to boot from the 1.5TB and consider the 320GB as a secondary? Is there anything I need to setup in BIOS? My motherboard has one extra SATA connection left for a second hard drive.
View 6 Replies
View Related
Jul 13, 2010
I am having issues mounting my non-OS hard drive (/dev/sda).I had the following information in my /etc/fstab file:/dev/sda /mnt/storage auto defaults 0 0This worked as expected; however, I decided the modify this so I can have it automounted to my home directory (/home/jesse/storage)./dev/sda /home/jesse/storage auto defaults 0 0This /mnt/storage remains intact even after rebooting the system.
View 6 Replies
View Related
Jul 30, 2010
I've got a semi-retired hdd (with a few bad sectors my disk utility tells me) formatted in ext4 that can be mounted onto the Desktop after boot provided root password is offered first. I thought it would be straight forward to mount it at boot with something in etc/fstab like :
Code:
/dev/sdb /home/Jo/Desktop ext4
But this doesn't work, is there a glaring error here ?
Various threads suggest permission restrictions could be the cause but i have had no success with them
View 10 Replies
View Related
Jun 18, 2011
I just switched to Fedora (from Ubuntu) and can't seem to get Fedora to automount my old drive (which is my old Ubuntu drive). I tried the following with no luck (in fact, when I did this, it chocked during boot and went into emergency mode:
In /etc/fstab, I entered:
/dev/sdc /media/UBUNTU_DRIVE defaults 0 0
Another odd thing is the UBUNTU_DRIVE directory just disappears after reboot (and I know it was there before rebooting).
I have two additional drives in my tower, and both do show up in gparted, so I'm not sure why they're not getting mounted.
Why can't Fedora auto mount secondary (internal drives) automatically?
What can I do to tell it to auto mount the secondary drives (I have two) automatically?
View 5 Replies
View Related
Jun 8, 2010
I am noticing problems accessing the firewall gui and mounting the second hard drive in my PC running Fedora 13. This is only when I am accessing the machine with VNC. If I am sitting in front of the physical machine, I have no problems at all. I would like VNC to behave more like I am sitting in front of the computer. Is there a way to do this? Thank you in advance for your feedback.
View 4 Replies
View Related
Sep 25, 2010
I'm trying to mount a hard drive, but I get an error. $Logfile indicates unclean shutdown (0,0) Failed to mount '/dev/sdb1': Operations not supported Mount is deniedbecause NTFS is marked to be in use.it gives me some optionsmount -t ntfs-3g /dev/sdb1 /media/System -0 force (and error not found)/dev/sdb1 /media/System ntsf-3g force 0 0 (i get permission denied) All done as root. I have had no problem before mounting hard drives like this. So I don't know what the problem may be.
View 1 Replies
View Related
Mar 30, 2010
mounting a windows shared drive!
Some info:
[vortexbox.localdomain ~]# uname -r
2.6.30.10-105.2.23.fc11.i686.PAE
[vortexbox.localdomain ~]# smbclient -L jsvaio -U guest
[Code]....
View 6 Replies
View Related
Jul 5, 2011
I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i have tried the GUI approach bt it doesnt help. there are more than a few hundred folders with thousands of files in total. tell me a way so that i can change permissions for one drive at once.
View 4 Replies
View Related
Jul 12, 2010
I am looking for a guide for Fedora 13 that tells me how to:
1. Create an encrypted partition on an an external USB hard drive
2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive
3. Automounts the hard drive to a set location
The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.
View 1 Replies
View Related
Nov 16, 2010
I want to mount a remote drive on bootup. I'm using FC14 and remote machine is FreeBSD. I've written a shell script to mount it. The script contains only one line:
Code:
mount 192.168.1.33:/home/user7 /media/mc33
I've to run this script from superuser mode to mount the file system(it works). So to mount it at bootup, I added the shell script to my PATH (/home/me/bin) and added it to Menu->System->Preferences->Startup Applications. Well this doesn't work because the root privileges are not present. I tried fixing it by giving root privileges to my shell script
Code:
#chmod +s mount-mc33
but it made no difference.
View 8 Replies
View Related
Feb 14, 2011
I just moved from ubuntu to fedora 14 and I'm having an issue with a portable USB hard drive. When the hard drive is connected at startup it mounts at /dev/sda and my other 3 internal hard drives are mounted at /dev/sdb, /dev/sdc and /dev/sdd; of course this is an issue with my FSTAB file since i mount some of the partitions in the first hard drive (/dev/sda) at some special points in my file system, so i need to restart my computer and unplug the USB hard drive to get things working, however when i was working with ubuntu this didn't happen. I need that the USB hard drive mounts at /dev/sdd at startup so my FSTAB could work.
View 3 Replies
View Related
Apr 1, 2010
I am basically mounting my portable hard drive (sdb1) and creating a bit image copy of sda on to the hard drive. What each line in the command is doing? e.g. what does ntfs-3g mean? what does the third line mean?
View 1 Replies
View Related
Jun 3, 2010
I have a Fedora machine that was installed with Linux LVM. I took the drive of that machine, connect it to disk enclosure, and connect to another Linux machine via USB connection. I can see that the drive /dev/sda is there:
Code:
[root@dd ~]# /sbin/fdisk -l
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes .....
I want to copy files from this drive. I try to mount it, but it didn't work. The /dev/sda1 is mounted fine, but it has only boot stuff.
Code:
[root@dd ~]# mount /dev/sda2 /mnt/drive
mount: you must specify the filesystem type
How I can mount the drive and copy my files from this drive.
View 1 Replies
View Related
Feb 9, 2010
I am attempting to mount my Direct TV DVR (HR22) SATA Drive using Fedora 12 x86_64 using the following command:
The output of BLKID is:
I am able to mount this using MSFLive.org LIVECD/USB: [url]
I must have something wrong with my installation in some what so that i can't mount a Realtime XFS Share in Fedora 12.
View 2 Replies
View Related
Nov 29, 2009
I've been installing/tweaking F12, and I've found something that I can't say I've ever seen or expected to find before: the contents of my ~/Documents folder has lost its permissions and ownership info. I restored it from a backup last night/this morning, and I've rebooted a few times since then. Other folders from the backup are OK, just Documents.I don't know what my options are. I could try to blow it away and restore it, but that doesn't answer what caused it. If there's a "relabel" or something, that might help... though I've never had to do it before. Could it be that after these two-and-some-change years, my hard drive is giving out? Good thing I have a recent backup... but it'd be a shame to lose all my work getting F12 to work again.
View 4 Replies
View Related