Ubuntu :: Allowing Apache To RW NTFS Mount
May 13, 2010
I keep my site files in an NTFS partition.When using Ubuntu, Apache gives me a forbidden 403 error when going to http://localhostI had this problem before, and if i remember correctly, to solve it I had to mount the hard drive as root when starting up, so I had this line in fstab:/dev/sda1 /media/Shared ntfs-3g quiet,defaults, locale=en_US.utf8,umask=000.But having that line there now doesn't make it work. It does mount Shared, and as root, but Apache still gives 403.
View 3 Replies
ADVERTISEMENT
Jun 26, 2010
Is there a way to allow ordinary users to mount / unmount an ntfs partition?I don't want it to be mounted automatically - I can do that. I want it to be mount / unmountable by ordinary users (possibly in a particular group).
View 1 Replies
View Related
Mar 4, 2010
Can mount.ntfs and mount.ntfs-3g reside simultaneously?
Whilst accessing an external NTFS drive mount.ntfs takes up a lot of CPU. I am not sure if its mounting the drive using mount.ntfs or mount.ntfs-3g? How do I find out and if they coexist how do I make the default mount drive ntfs-3g?
View 3 Replies
View Related
Sep 12, 2010
I am trying to get apache:asp to work on on apache2. I have everything installed but any folder I put a asp file in apache locks me out ofere is the error I get.?localhost?refused the connection. Is there a way I can get apache to allow everything? read write browse eveything. Then after I troubleshoot asp and get it working I will start working on security.
View 2 Replies
View Related
Dec 15, 2010
I have recently installed a LAMP server on Ubuntu 10.4 nd I would like to have the /var/www folder writeable and accessible by my other computers on the LAN. I know I have to install Samba but how do I configure it so I can map network drives to the WWW folder and allow read and write access?
View 2 Replies
View Related
Jul 29, 2009
I'm a PHP developer and an app I'm working on right now generates files for users to download. The problem I'm seeing is in order to write to a folder I have to chmod it 777, obviously a bad idea.
I'm thinking the best idea is to change the folder user / group to that of apache, however after over an hour of Googleing I can not find out what user / group apache belongs to.
Thoughts? Is this the best way to go or should I do something else?
View 3 Replies
View Related
Mar 6, 2010
I want to enable Advanced NTFS-3G support (permissions and users) automatically from the fstab entry.
View 1 Replies
View Related
Mar 8, 2010
is there a way to allow a program mounting a drive without requiring it to ask for sudo password (apart from running it with sudo)? To be more specific, I'm annoyed by the sudo password request by TrueCrypt whenever it needs to mount a volume.
I've thought about creating another user, allowing it to mount volumes and then running TrueCrypt as this user at boot. I don't know whether GNU/Linux allows for such policies... maybe I should look into SELinux?
EDIT: For the issue at hand (encrypted USB stick both on Windows and Linux), I'm investigating FreeOTFE. I'm still curious about the privileges issue, anyway.
View 3 Replies
View Related
Dec 28, 2009
I have a non-super user on my box which I'd like to give it MOUNT and UMOUNT permissions but I don't know how.For example purposes, the user name is "USER".I don't want to make it into a SuperUser, just give it rights to be able to issue the MOUNT and UMOUNT commands at the terminal.
View 6 Replies
View Related
Feb 10, 2010
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
View 14 Replies
View Related
May 2, 2010
About dual boot system with winxp and lenny.
Storage information:
1st primary:SG 160G ATA 100
1st secondary:WD 160 ATA 133
SATA:WD 1000
2nd primary:DVD
2nd secondary:DVD±RW
Winxp in 1st primary.I did a fresh install of lenny on 1st secondary.
info about lenny setup:
1.Partition list:/boot,/,/home,swap
2.Every partition is XFS except swap.
At the end of installion,lenny installed grub on (hd0) that is 1st primary.
Everything seems OK.Lenny runs OK.
But when I switch back to windows xp,the diskmgmt can not detect hdd's info and the system meets a problem of shutting down.
After many times of trying.
I solved the problem by the following way.
1.Boot with windows xp's install CD and use fixmbr on (hd0).
2.Boot with lenny's install DVD , do a grub>root (1,0)>setup (hd1)
After that,edit /boot/grub/menu.lst and change (hd0,0) to (hd1,0) and also (hd1,0) to (hd0,0).
3.Reboot and Press F8 for a boot menu then I can select which disk to boot.
windows boot from 1st primary's mbr,lenny boot from lenny's grub.
The problem is caused by a bug between GRUB and windows' mbr and maybe more about GRUB and XFS.
View 8 Replies
View Related
Feb 1, 2010
ubuntu 9.10 when I try to mount internal drivereceive the following massage Error mounting: mount exited with exit code 1: helper failed with:Remounting is not supported at present. You have to umount volume and then mount it once again
View 9 Replies
View Related
Jun 6, 2010
i have an ntfs partition that i want to mount. before 10.4, all i had to do was add:
Code:
/dev/sdb2/media/Sharentfs-3guser,auto,locale=en_US.utf800
to the fstab, and it would be mounted on startup, but now i can't do that. when i try to
[code]....
View 2 Replies
View Related
Aug 6, 2010
I tried
Code:
sudo mount /dev/sda2
but it doesn't work. i tried
Code:
sudo mount device /dev/sda2
, nope. what are the commands?
View 9 Replies
View Related
Sep 28, 2010
I tried few command to mount NTFS system that I know works....but mount LVM with NTFS like this absolutely failed me....
Commands that I tried...
Code:
mount -o loop,offset=32256 /dev/storage/games /windows
mount -o loop,offset=32256 /dev/storage/games5 /windows
mount -t ntfs-3g /dev/storage/games /windows
mount -t ntfs-3g /dev/storage/games5 /windows
[Code]....
View 9 Replies
View Related
Oct 20, 2010
Recently installed ubuntu 10.10 and rather like it but been trying to setup and configure everything so its a feasible alternate OS.
I have a problem where one of my hard drives doesnt show up in places.
The drive works fine in windows.
The information provided to me by Disk Utility says:
Model: ATA WDC WD 10EADS-00L5B1
Partitioning: Master Boot Record
Device: /dev/sdb
Partition Type: HPFS/NTFS (0x07)
Now i have a total of 4 drives, windows 7 on one, linux on one, and 2 storage. Linux recognizes my main windows drive and my 2 TB storage drive, but not this one for some reason. I assume it has to do with the partition type? Disk utility just shows its parition bar image as 'unknown' so yeah. Now there is one error during boot related to this but i can't read it fast enough to remember it all, all i see is the sdb label real quick.
View 9 Replies
View Related
Feb 18, 2011
We have a VMware box that is connected to a Thecus. The Thecus FTPS the WMware virtual machines onto a PC which has a 2TB drive.
We are trying to see if we can get the FTP'd VMware Virtual machines to run on another WMware node.
However Vmware use's NFS so we can't mount the drive as it's NTFS.
We are attempting to mount the NTFS drive in ubuntu. Can this be done and can it be turned into a NFS share without formatting the drive.
View 2 Replies
View Related
Mar 23, 2011
im looking for a command for mounting an ntfs partition. what i want to do is to put that command to the "after startup applications" option. that's because that ntfs partition is my storage partition, i play steam games [win7 dualboot, thats why that partition is ntfs], download movies etc. in my places menu, its called 190GB Filesystem, and when i click it, it mounts up. but that means i have to click it everytime i boot up, because vuze can't locate the files if it isnt mounted.
by the way : /media/7C1EE4E21EE49684 when its mounted
View 6 Replies
View Related
Jun 18, 2011
I have a 3T hitachi hard disk partitioned by Windows 7 and formatted as NTFS that I'm unable to mount under Ubuntu 11.04. The disk is in an external enclosure connected via USB2. Windows 7 has no problems seeing the partition and mounting the drive.
[Code]....
View 5 Replies
View Related
Mar 14, 2010
On my laptop I have Windows and Ubuntu, and I use Ubuntu very often. How can I auto-mount the NTFS partitions once I run my Ubuntu without the need to manually ask to mount it and confirm with the root password each time and for each partition?
View 5 Replies
View Related
Mar 19, 2010
i want to mount at kubuntu startup some ntfs drives now, i have, on dolphin, to click the ntfs partitions to mount them and after doing that, this lines are included on /etc/mtab
/dev/sda1 /media/WD10EADS fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sdc3 /media/DATOS fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sde1 /media/IPOD_HD-1 fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sdb1 /media/SAMSUNG401TB-1 fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sdd2 /media/SEAGATE-1 fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
but when i add that lines to /etc/fstab and reboot, i can't access the ntfs drives. dolphin says than only "root" can mount /dev/sda1 on /media/WD10EADS (for example) i tried this too:
[Code]....
View 8 Replies
View Related
May 4, 2010
I have U1004 dual boot with MSW7 and sometimes want to mount those NTFS partitions for mostly reading operations. Ubuntu makes it easy by a single click in Nautilus. How to change this behavior and allow mount NTFS partitions with user's password only, like sudo behavior, for example? In addition, how to mount them read-only?
Note: I mount those NTFS partitions occasionally and there is nothing in fstab about it.
View 5 Replies
View Related
May 5, 2010
I have a ntfs-partition that I will use for documents for me and another user. I works fine for me.
The partition is mounted and I can read/write.
However, for the other user the partition is not showing up. What to do?
I've tried changing the permissions from nautilus, but no success.
View 9 Replies
View Related
Jun 6, 2010
i would like to have all my ntfs drives mount @ start up here is the command im currently useing sudo mount -t ntfs-3g /dev/sdc1 /media/D -o forcei have made the folders D E F etc now i know that the command for starting restarting and stoping samba changed in 10.04 so did something change with mounting ntfs drives
View 1 Replies
View Related
Jun 29, 2010
How to mount my external hard drive. The output of
Code:
fdisk -l
was pretty lengthy but I am including all output anyway. The device I am trying to mount is the 1 TB drive /dev/sde. After running fdisk, I ran
Code:
sudo mount -t ntfs-3g /dev/sde /media/myHD
and the output can be seen after the fdisk output (and yes I tried sde1 in lieu of sde).
jfluckey@jfluckey-desktop:~$ sudo fdisk -l
[sudo] password for jfluckey:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x767f767f .....
jfluckey@jfluckey-desktop:~$ sudo mount -t ntfs-3g /dev/sde /media/myHD
NTFS signature is missing.
Failed to mount '/dev/sde': Invalid argument
The device '/dev/sde' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
View 2 Replies
View Related
Dec 27, 2010
Recently, I noticed mount.ntfs process is eating complete CPU power. I think it came with newest update. I use fully updated 10.04, and having some SMB shares mounted to /mnt
View 8 Replies
View Related
Mar 11, 2011
I can no longer access my external USB hard drive after applying routine updates this morning. It is a WD "My Passport" drive, 500 GB with the standard formatting setup. As far as I can tell there are no errors on it. Upon plugging it in I see a pop-up box "Unable to mount the volume 'My Passport'" and it provides no further information under "Details." If I try mounting from the command line, e.g. mount -t ntfs-3g /dev/sdb1 /media/sdb1 or similar, no errors appear but when I do ls on the directory it comes up blank. Also then if I try to unmount it, it tells me the drive isn't mounted. This drive mounts fine on another computer running Fedora (and all the data on it is readable). I'm guessing there is a bug in one of the updates--here is what updates I applied.
Commit Log for Fri Mar 11 18:09:25 2011
Upgraded the following packages:
avahi-autoipd (0.6.22-2ubuntu4.2) to 0.6.22-2ubuntu4.3
avahi-daemon (0.6.22-2ubuntu4.2) to 0.6.22-2ubuntu4.3
firefox (3.6.14+build3+nobinonly-0ubuntu0.8.04.1) to 3.6.15+build1+nobinonly-0ubuntu0.8.04.1
firefox-3.0 (3.6.14+build3+nobinonly-0ubuntu0.8.04.1) to 3.6.15+build1+nobinonly-0ubuntu0.8.04.1
[Code]....
View 3 Replies
View Related
Jul 30, 2011
I use Ubuntu 11.04 (gnome) and have a ntfs partiton that shows up in the "places" menu that is normally in the gnome panel. But I think that partition isn't mounted till I click on the entry in this menu (when I want to access it from any other place, shortcuts for example, that doesn't work).
How can I correctly mount all partitions I want on startup?
Recently I tried something in the /etc/fstab file but don't know if this is correct...
View 9 Replies
View Related
Mar 14, 2009
My Host OS is XP and I am running Ubuntu on Virtualbox. Trred a readwrite and graphic method to mount NTFS but no matches, permission denied. It's not possible to mount NTFS using Ubuntu on Virtual box?
View 7 Replies
View Related
Sep 20, 2009
i use Ntfs 3g for auto mounting my windows partition. but for some reason i want to get it unmounted on boot.but when i get into the NTFS config tool i cant figure that out.
View 2 Replies
View Related