Ubuntu Servers :: Mounted Usb Drive Permissions Stuck On 777
Jun 18, 2010
I am running Ubuntu Server 10.04 LTS with Kernel 2.6.32-22-generic-pae I was originally using usbmount to autmont the western digital external usb drive I had attached to the system and it was working great. However, while I was adding files to the drive i deleted all of the directories and files that came on the drive out of box such as 'autorun.inf' and an autorun directory containing an icon for the drive.. when I rebooted the drive was no longer mounted, I tried to un/reinstall usbmount a few times but it still didnt work, so I wound up adding the drive into my fstab, my fstab line reads like this
[Code]....
View 2 Replies
ADVERTISEMENT
Mar 4, 2010
I'm running Ubuntu 9.10 64-bit.
For some reason, the second hard drive (sdb1) is not automatically mounted:
rick@rab-1:/mnt$ sudo fdisk -l
Disk /dev/sda: 500.0 GB, 499989348352 bytes
255 heads, 63 sectors/track, 60786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c17f6
[Code]....
Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?
View 6 Replies
View Related
Jul 10, 2011
I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.
So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?
View 3 Replies
View Related
Jan 23, 2011
Every time I try to change file or folder permissions on a separate internal drive in ubuntu 10.10 desktop in sudo file manager, It sets it right back to the way it was before and doesn't save the permissions I want to change it to. The files aren't critical system files that are not even existent on this hard drive.
Its on a completely separate drive, Yet aren't I suppose to be in control of what gets changed to what? Instead of a Operating System doing something just for my safety? A simple AVI files permissions being changed shouldn't hurt anything. How to I stop ubuntu 10.10 from auto setting the permissions of my folders and files? Its really starting to me off right now. I've been looking around on google for Auto reset permissions for ubuntu, Haven't found one word about it. Yet I'm just going to assume someone might know how to resolve this? Or has dealed with this before.
I'm just trying to Forcefully set my folders on my separate drive all to 777 because they are all 775 and 755 and I can only access them with Write privileges if I run the SUDO file manager which I really hate having to do every so often I'm sure you can relate to how annoying it is to have to open up terminal and type something in to open a fully priviledged file manager.
View 5 Replies
View Related
Sep 17, 2010
I have a windows partition mounted that will not allow me to load my kubuntu 10.10 meerkat. i can enter an older kernal but my older kernal says cant contact kded and all my kde apps will not work such as wireless networking and autp ip configurations. although i can run the internet in this kernal wired however manually putting my ip and other numbers in for wireless connection fails. all other kernals do not load because they say i have a ntfs drive mounted. so my question is how can i unmount this drive and make my kernal work again or how can i fix kded from crashing on my second kernal so i can use that one. i have already tried sudo unmount /media/windows and other simular commands i also tried a mounting app and reinstalling kubunt desktop also check disk on windows with clean shut down does not work either.
View 6 Replies
View Related
Jul 18, 2011
I'm having a problem changing permissions on a network share. The share is mounted on my server using cifs. It has been working perfectly for a week or more. I use a bash script to copy files from a temporary folder on the server to folders on my HTPC that are mounted on my server.The server is Ubuntu Server 10.04 and the HTPC is XBMC Live Dharma.
The problems began when I added chmod lines to my bash script to temporarily change permissions. I had the entire mounted share set to 777 on the server, and I was worried that I might accidentally delete the files or something, so I set it to 555 and then modified my script. This was not intended to be a permanent solution, but I wanted to use it as a band-aid solution until I figured out how to do it properly. The mounted folder is called "tabitha" and it is mounted in the home folder of the user "turvy" on the server.The script looks like this:
Code:
#!/bin/bash
#chmod -R 777 /home/turvy/tabitha/hd2/TV
[code]....
View 9 Replies
View Related
Mar 8, 2011
I have a few websites that travel along with me in my usb stick, and I want to have read and write permisions to files on my usb by other users (i.e.: www-data) actually they have 0700. I'm running maverick (linux mint Julia).
View 1 Replies
View Related
Apr 19, 2011
I have a server running RHEL6 and a virtual machine also running RHEL6. I created a directory /home/data on the server and another on the VM. When I mount the host directory on the VM, I am not able to change the ownership/permissions through the VM no matter what. The ownership is set to "nobody" and I can't even change it to root.
View 4 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 6, 2010
Sorry if this is the wrong section for this type of question. Anyway, I have two servers running Ubuntu 10.04. Server A has an NFS share that is mounted on server B, and the former has this share set up with specific permissions for a group called netusers. This group basically grants its users read/write permissions, and blocking all of files from anyone who's not part of the group.My question is this: how can I set up the permissions on server B, such that if I was to add a new user on server B, he would have read/write access to the share? I tried adding a counterpart group called netusers with the same permissions on B, but that didn't work.
View 2 Replies
View Related
Jul 8, 2011
I have a problem with sshfs. I want to share a binary with some others computers, but i only want them to be able to execute (no read/write ). So, on my main server, I chown root:root bin & chmod 701 bin. That work nicely on main server, local users can execute bin w/o read/write ... But when I mount directory using sshfs, users cant exec/read/write ...
SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12
View 9 Replies
View Related
Feb 11, 2011
had trouble writing to a flash drive. checked the permissions, the correct user it there, but the id is root.when logged in as root and attempt to change permissions i get Could not modify the ownership of file /media/disk-3. You have insufficient access to the file to perform the change.
now how as root can not have enough permission? i've been up and down the forums and google to no avail. poked around in the fstab and even mtab as there are two files, one a lock, that seems to come from mtab.
View 9 Replies
View Related
Feb 1, 2010
I have mounted samba volume and I need to have write permissions for every new folder that's being created (currently, by default, on every newly created folder i have only read and execute permissions).I tried changing umask, but with no effect on mounted folder, umask changed only for local filesystem. I tried mounting with umask option, but with no effect again.I'm using ArchLinux on this machine, and I installed samba using default package manager (pacman).
View 1 Replies
View Related
Jan 19, 2011
I have just installed Xubuntu and suprisingly it did not ask me to create a partition within its installer like Ubuntu does. So now, I am left with 150mb of free space. I want to expand that amount. The problem is, I do not know where it has been installed on. I have a C and an E drive. Currently, the C drive is mounted and the E drive will not mount even if i press the mount button. Does anyone have a solution?
View 8 Replies
View Related
May 1, 2010
My cdrom drive was working until yesterday it didn't mount at all. It said 'special device /dev/scd0 does not exist'. I went and checked in BIOS and the CD rom was not identified there as well I would like to know if there is a workaround for this problem. I am using an ACER aspire 4520 laptop with only ubuntu 9.10 on i
View 3 Replies
View Related
Aug 28, 2010
Ok so I have a drive called Extra Hard Drive and somehow I can't access it.
View 3 Replies
View Related
Jan 15, 2010
I use Suse 11.2. I mounted 5 folders from fstab. 2 of them work but 3 do not. The 3 folders that do not work let me enter them, and they let me see everything. I can even create or delete a folder on them, if I am just browsing with konqueror. The problem is that I have a program that will not read them. It's a program made for my company and apparently it will only read folders that have all of their permissions set to read and write. The program will read the first two because their permissions are set to Owner, Group, and Others, can view and modify content. (The network folders are all windows server 2003 computers). The 3 folders the program will not read are set to Owner can view and modify content, but Group and Others are "can view content" If I try to change those permissions even in root, it tells me that access is denied.
View 9 Replies
View Related
Apr 6, 2010
I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab
Code:
/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0
Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.
View 2 Replies
View Related
Apr 28, 2010
When DVD is inserted in the drive, it mounts and is read perfectly. But after some time of inactivity disk and drive becomes "frozen". Any attempt to acces files on the disk leads to drive spin-up, and no response from the drive and disk for several minutes. "eject", "umount" and eject button for this drive in this situation fail. after some time of "spinned-up-frozen" the drive spins down. At this moment it is possible to eject the disk by drive button, close the tray (with the disk) back, and the disk is again mounted and read properly (until next period of inactivity). "dmesg" during the "freeze" time shows the repeated disk error messages:
Quote:
"dd" for this disk (at the moment of non-freeze) passes fine, copying all the data without problems, so disk quality is not the issue.
View 4 Replies
View Related
May 26, 2010
Whenever I right-click on a mounted usb drive, I have the option to "safely remove" it. However, it I choose this option, I inevitably get the following error message:
Unable to stop drive
Error detaching: helper exited with exit code 1: Detaching device /dev/sdb
USB device: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6)
SYNCHRONIZE CACHE: synchronize cache(10): Fixed format, current; Sense key: Key=9
Additional sense: Logical unit not ready, cause not reportable
Info fld=0x0 [0]
FAILED: No such file or directory
(Continuing despite SYNCHRONIZE CACHE failure.)
STOP UNIT: start stop unit: transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x00 [DRIVER_OK, SUGGEST_OK]
FAILED: No such file or directory
I'm currently using Lucid, but this happened on Karmic as well. The way I see it, the result I would like would be either:
1. The "safely remove drive" command just unmounts the drive (I can't imagine what else it does anyways, besides give me this stupid error)
2. There is no "safely remove drive" option.
View 6 Replies
View Related
Jun 19, 2010
I have been having the hardest time with this. I am trying to mount a share on a Ubuntu 10.04 system from another Ubuntu 10.04 system.
The system with the share has the OS on one drive and then data on a second internal sata drive that is mounted. The share is on this second drive.
I can see it when I browse networking from the other system but it won't mount. I get a message saying that the folder contents can't be displayed. I do not have permissions necessary to view the contents...
I have tried setting the share folder permissions as permissive as possible but can't get passed it.
View 1 Replies
View Related
Jul 16, 2010
I use davfs2 to mount a Webdav drive at startup. It mounts correctly and I have read access to all files my account gives me access to. One big problem though: I can't create of modify any file. I know it is not a user account problem because everything works well when I mount the drive in Windows 7 using WebDrive.
Here's the entry in /etc/fstab to automatically mount the drive:
Code:
http://someserver.local/docs /home/my_user/km_docs davfs user,rw,auto 0 0
The Webdav is hosted on a local SAP Portal server (if anyone is familiar with this).
I also tried to use Cadaver. It connects and reads perfectly. But when I try to create a file, I get a "409 Conflict" error, even the file has never existed on the server before.
View 3 Replies
View Related
Sep 21, 2010
I am trying to access a mounted secondary drive through FTP, and when I try to connect to it I am not able to see any of its contents. Any suggestions? I am using Gadmin-proftp to configure. I can point it to any other folder on the main drive and see it perfectly.
View 1 Replies
View Related
Dec 18, 2010
I have two machines. Desktop and X61s. I have a drive on Desktop called Ianthe. This is in /media. This is remotely mounted on my X61s machine (a laptop), as /media/Ianthe. It automounts when I boot it up. BUT, the same drive looks different when viewed on the remote machine. An example is a certain directory, which when viewed on Desktop has 21 files in it, but when viewed on X61s has on 7 files in it.
If, on the X61s machine, I go to Network > Windows Network > LBBARNET > DESKTOP > Ianthe and navigate to the relevant folder, I can see all 21 items. But if I mount it, I can only see the 7. I have tried rebooting X61s, but it remains the same. The permissions on all the files in the folder on Desktop are identical, so I can't see any permission reason why this should happen. And, if I copy one of the files on the Desktop which doesn't appear on mounted view on X61s then the copied version appears immediately on both views.
fstab on Desktop
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]....
View 1 Replies
View Related
May 5, 2011
I observed a problem with the Yahoo Mail Attachments.If I want to attach a file from a drive that's mounted (one of my windows partitions), the file who I attach to mail seems attached but after I send the mail the recipients do not receive my file. First I thought it was a mistake, but then it happened several times. Does anyone know any workarounds except copying the files who you want to send to an Linux drive and then sending it from that location?
View 1 Replies
View Related
Sep 25, 2010
I have an 8gb sandisk cruzer flash drive that I wanted to remove the U3 software from. I used with this:and ran it on my windows machine because wine didn't work for itbut after it removed U3 my card only had 3.8gb. Is there any way to restore it back to 8gigs?I've already tried reformatting with the disk utility and it just doesn't give me the option to format higher than 3.8gb.
View 4 Replies
View Related
Jun 23, 2010
How do you find the device (e.g. /dev/*) for a mounted USB drive in Linux (Ubuntu 10.04)? I'm trying to format a Cruzer USB flash drive, and when I plug it in, the icon for the mounted filesystem appears on my desktop. However, when I open GParted, it doesn't list the filesystem as an option to partition.
The recommendations I've found through Google include monitoring tail -f /var/log/messages, which they claim should list the device name when the drive is mounted, but this never happens for me. I've also read that the USB drive would usually be linked to /dev/sdb, but this appears as a broken link on my filesystem. How else would I find the device?
View 3 Replies
View Related
Mar 8, 2010
About every couple of days, my linuxfiles mount will disconnect. I notice this because I have created a symbolic link from my user's home folder to this drive. So when I log in, if the drive isn't mounted I get the following errors:
Quote:
Could not update ICEauthority file
/home/johnathan/.ICEauthority
Quote:There is a problem with the configuration server. (usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)
I keep having to remove the mount folder and then readd it. Then I have to reapply the permissions for it to connect back to those files. How can I correct this? This only happens to this mount, the others stay connected with no issue. Also, when I log in and I have this issue... I cannot get out of this or log off unless I shutdown my laptop... is there another way? I guess I could do an init 3 from the CL.
View 5 Replies
View Related
May 8, 2010
I just got ubuntu installed for the first time, I tried mounting my hard drive to my desktop so i can have easy access to it, but when i restart ubuntu it always dissapears and i have to go to places then click on the hard drive again to mount it to my desktop.
Is there a way of keeping this on the desktop without having to do this all the time? I have the latest ubuntu version.
View 9 Replies
View Related
Sep 27, 2010
I have a secondary harddrive that is auto mounted through fstab at startup in the /mnt/media_drive folder. I have not had any problems out of it until today.
I was trying to get the computer to act as a PS3 media server. I installed pms-linux, couldn't get it working, removed that, installed ushare, didn't like that, uninstalled that and reinstalled pms-linux. Now the PS3 sees the folder, but nothing else does. When I ls -l the /mnt/media_drive folder, I get this:
Code:
derek@shop:~$ ls /mnt/media_drive -l
ls: cannot access /mnt/media_drive/audio books: Permission denied
ls: cannot access /mnt/media_drive/playlists: Permission denied
ls: cannot access /mnt/media_drive/Christmas: Permission denied
ls: cannot access /mnt/media_drive/DVD_temp: Permission denied
ls: cannot access /mnt/media_drive/OTR: Permission denied
[Code]...
View 3 Replies
View Related