General :: Unmount The Partition With Exec Permissions?

Aug 9, 2010

My hosting company said: You need to unmount the partition with exec permissions, install memcached and re-mount it with no-exec as a security measure.

Code:

[root@server tmp]# pecl install memcache
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl
channel-update pecl.php.net" to update

[code].....

View 4 Replies


ADVERTISEMENT

Software :: Change Default Noexec To Exec For All Partition In An External Drive

Jan 15, 2010

Whenever I plug an external harddrive to a CentOS system,all partitions mounted will have noexec that makes my binaries or script files not executable.

Quote:

[root@centos52-64-dell ~]# mount
/dev/sda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)

[code]....

I have to remount it using, e.g.,

mount -o remount,exec /dev/sdb1

But I am sick and tired of doing it everyday. What I can I do ?I don't want to use /etc/fstab to solve this problem becauseit will cause booting problem (curable though) when the hard drive is not around.

View 1 Replies View Related

General :: Cannot Figure Out How To "unmount" The Partition

Jun 30, 2011

I'm a total newbie in Linux, so patience I've managed to get Ubuntu up and running and love it so much I want to wipe out my Windows XP partition. (Right now I boot from startup and choose Ubuntu.)But when I open up Gparted it only shows me one "host" partition, a ntfs file system, and no reference to linux anywhere. More troubling, I cannot figure out how to "unmount" the partition. I've tried to boot from a CD unsucessfully, not sure why, but can't get the download to unzip, I think. Sorry, I said I'm a newbie.

View 7 Replies View Related

Ubuntu :: Can't Unmount Partition For Repair?

Jan 4, 2011

After reboot I saw this communication:Quote:Target filesystem doesn't have requested /sbin/init.No init found. Try passing init= bootarg.and I can't shutdown the system normally because it stops (live cd too).Then I can't repair this partition because it is always busy.

View 2 Replies View Related

Hardware :: Can't Unmount Partition For Repair

Jan 4, 2011

After reboot I saw this communication:

Quote:

Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. and I can't shutdown the system normally because it stops (live cd too). Then I can't repair this partition because it is always busy. I have on this partition important files.

View 14 Replies View Related

Software :: Getting Error While Trying To Unmount A Partition / Fix This?

Jul 17, 2009

Code...

I am getting this error while trying to unmount a partition , what should i do ?

I am using Fedora 10 x86_64.

View 12 Replies View Related

Ubuntu :: Unable To Mount / Unmount Partition In 10.04

Mar 1, 2010

I am unable to mount partition in ubuntu 10.04. Icons for different partitions are not coming within "Places". Every time I have to manually mount the partition or CD or DVD and manually unmount it. Seldom it shows the partition icons within Places>Computer. Then the partitions are getting mounted upon double clicking its partition-icon. But I fail to unmount the partition as it throws the error "media/partition_name is not in the fstab (and you are not root)."

View 9 Replies View Related

Ubuntu :: Unmount And Hide Windows Partition

Jan 9, 2011

When running linux (Lubuntu 10.04) my windows partition mounts automatically and can be opened and edited in file manager. Is there any way I can prevent it mounting when linux launches, prevent it from being mounted in linux, and (ideally) prevent it from being displayed/opened/edited at all from linux?(In case it's relevant:

Code:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 1 Replies View Related

OpenSUSE Install :: Unmount The /home Partition In Order To Be Able Change It's Size?

Oct 14, 2010

When running the umount command like this as superuser: umount /dev/sda8. get the following message:umount: /home: device is busy.(In some cases useful info about processes that usethe device is found by lsof(8) or fuser(1))

View 9 Replies View Related

Ubuntu :: Allowing An Ordinary User To Mount / Unmount Ntfs Partition?

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

General :: Mounting Ext2 Partition With Write Permissions?

Oct 25, 2009

I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.

/etc/fstab:

Code:

# Filesystem: Mountpoint: Type: Options: Dump: FSCK:
/dev/sda1 / ext4 defaults 1 1
/dev/sda5 swap swap defaults 0 0

[code]....

can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option" I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options?(e.x. if I try to mount /dev/sda6 with: mount-o auto,user,exec,rw,async. Will it mount with async or sync?)

View 1 Replies View Related

General :: Permissions Locked To Read Only On NTFS Partition

Jul 4, 2011

I'm pretty new to Linux. Though I've used it for a little bit, I barely know any shell commands. I recently migrated from Mint to Fedora. Installation went fine and I thought I was doing great until I tried to copy something onto one of my ntfs partitions (I got them automounted through changing fstab). Now I can't change the permissions with sudo chmod... it says I can, but nothing changes. And, while the folders are listed as allowing rw for the user group I set up, I can't actually change anything. I'm guessing I've done something wrong with my fstab file.

My fstab file is:

Code:

I should probably note that I'm using NVIDIA fake RAID 0, which is why my device locations are all /dev/mapper/nvidia_fcficeibp#

The command I have tried to change permissions is:

Code:

View 6 Replies View Related

Ubuntu Security :: Ecrypted External Hard Drive Partition Won't Mount Or Unmount?

Nov 15, 2010

I've been running Linux for a year on our family computers (one desktop, one laptop and two netbooks). I've run into a problem with the encrypted ext4 partition (270GB) on a LaCie external hard drive which also has a NTFS partition (50GB) which is not encrypted . First two times I tried using the encrypted ext4 partition (from two different computers) it worked fine but now I can't access it at all. I can still access the NTFS partition.Encrypted external hard drive partition will unlock but won't mount (or unmount). The computer says "Opening 320GB Hard Disk" but after a minute says, "Unable to mount location. DBus error org.freedesktop.DBus.Error.NoReply"Disk utility (GUI for gparted I believe) states that the encrypted partition (/dev/sdb1) is unlocked and the underlying partition (/dev/dm-0) is not mounted but it has a "busy circle sign" on it that will not turn off. The NTFS partition on the same drive mounts and accesses normally.

But if I try to unmount the NTFS partition, it says: "Unable to stop drive. One or more partitions are busy on /dev/sdb"If I try to shut down the computer, it is unable to shut down because (I assume) it can't shut down that drive either. So I have to just turn off the computer.fdisk states that /dev/dm-0 doesn't have a valid partition table [full output attached]fsck suggests: "Filesystem mounted or opened exclusively by another program?"ps axuf shows some processes running on /dev/dm-0 but killinghem doesn't release the drive either. [full output attached]I checked /etc/blkid.tab (suggested in one vaguely related thread) and there's no actual file only a broken link pointing to /dev/.blkid.tab (which doesn't exist). I tried deleting this link and rebooting but that didn't change anything.when I finally gave up my data as lost, I tried to format the partition (using Disk Utility) and it refused saying, "One or more block devices are holding /dev/sdb"

View 1 Replies View Related

General :: Change File Permissions In Windows Ntfs Partition?

Mar 2, 2011

Here is my fstab's content:

/dev/sda7/media/entfsdefaults00
/dev/sda8/media/fntfs-3g silent,umask=00000
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2

[code]....

View 3 Replies View Related

General :: Using PHP Exec With Java

Feb 17, 2011

izzit possible to use a php exec function to trigger a jar file using -java method?ters/new.png"');However when I run the index.php, it doesn't trigger action.Instead when I run this code in the terminal, it works perfectly well.So is there any configuration needed to perform such action?Oh btw I'm using XAMPP in linux ubuntu and CBSim.jar to convert some images.

View 2 Replies View Related

Ubuntu :: General, How To Exec On Ls Results?

Feb 10, 2010

Find a file and need to do something to it, think there must be a single line solution for:

$ ls *.c
$ cat *.c

View 1 Replies View Related

General :: Exec Command With Grep Output?

Feb 15, 2011

I have a requirement to find the files having its name as ack_reply. However, there are many other files in the same directory as these resides. Now I have to remove these files from the folder and retain others after 7 days. So I tried to write the below script with grep command.

find $directory -type f -mtime +7 | grep ack_reply

how can I pass this output to -exec command.

If I am not using grep command my script would be as

find $directory -type f -mtime +7 -exec remove.sh {}\;;

How can I use -exec with grep and find.

View 4 Replies View Related

General :: Ssh Exec Command And Exit Session

Jan 13, 2011

is it possible to execute command and terminate session all in one phrase

something like this connect to server hostname and than execute command "ls" and than some command

ssh username"at"hostname ls "something"

without "something" this phrase connects to server and lists directory, I need something that after listing directory, terminates session.

View 1 Replies View Related

General :: /usr/bin/xterm: Could Not Exec /bin/bash: Permission Denied

Sep 24, 2010

I'm in trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at top left corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied" Then I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied" I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed.

Code:

[root@localhost lib]# ldd /bin/bash
linux-gate.so.1 => (0x00687000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0x05846000)

[code]....

View 2 Replies View Related

General :: Use '{}' To Redirect Output Of A Command Run Through Find's -exec Option?

Jan 10, 2011

I am trying to automate an svnadmin dump command for a backup script, and I want to do something like this:

find /var/svn/* ( ! -name dir -prune ) -type d -exec svnadmin dump {} > {}.svn ;

This seems to work, in that it looks through each svn repository in /var/svn, and runs svnadmin dump on it.

However, the second {} in the exec command doesn't get substituted for the name of the directory being processed. It basically just results a single file named {}.svn.

I suspect that this is because the shell interprets > to end the find command, and it tries redirecting stdout from that command to the file named {}.svn.

View 2 Replies View Related

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

General :: Unmount Versus Hide

Oct 25, 2009

trying to do a multiboot, just for fun Now I installed Foresight Linux, which was not such a good.Foresight is based on rpath and uses Conary as update system Now Conary destroyed all other linux systems installed on the other partitions. Now I found that there is something such as hide and unmount but have read several pages full of it but still have no idea what is the difference between the two and more important, how to use this as most explanations seem to complicated How can I hide partitions for a booted linux operating system so it is unable to see it, use it or even mount it when it tries

View 2 Replies View Related

Ubuntu :: Add A Partition And Backup (permissions)?

Mar 26, 2010

I have formated a partition on the second hard drive to use for backups. I have been able to create a directory using sudo but I have not succeeded in changing permissions so Bill can use it for backups.sudo chmod a+rw BackUp runs without errors but doesn't change permissions.sudo chmod +666 Backup just brings up the see man message

View 2 Replies View Related

Ubuntu :: Setting Permissions On A Partition

Nov 29, 2010

I have just formatted a partition that had contained a windows OS, it is now formatted to ext4 and is dev/sda1 dev/sda2 contains my Ubuntu OS and all files although the empty partition shows up in Nautilus I cannot write to it as it is owned by root.I have done some research on changing the permissions on this, but am none the wiser!!

Enabling the root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent root login, the best alternative is to simulate a root login shell using the following command.I cannot find gksudo and do not know what commands to use in the terminal to achieve my goal. I am in totally unfamiliar territory here, and need some fairly simple explanation and guidance to be able to claim my empty partition so I can read from and write to it.

View 7 Replies View Related

Ubuntu :: Can't Change The Permissions Of A Second Hd Partition

Mar 11, 2011

my HD is partitioned in 3 volumes. The one witch is Ubuntu installed, I can change the permissions normally. The other ones I try to change the permissions on the properties and on terminal using chmod, but none of those work. They work only in the Ubuntu partition.

View 1 Replies View Related

General :: Vanishing Mount Points On Unmount?

Jun 19, 2011

When I insert an SD card in the reader, slackware creates a mount point and mounts my card volumes. On unmounting the volumes, the mount point vanishes. How do I achieve this manually?When I attempt to mount a volume using the mount command, the mount point folder must exist and the folder does not vanish on umount. Is there a way to create a mount point if it does not exist? and ensure that the folders vanish on umounting?

View 2 Replies View Related

General :: Can't Unmount ESATA Drive As User

Dec 6, 2009

I have external hard drive which I used to connect via eSATA. I have edited fstab and it looks like that now: UUID=35C595D5738A319A /media/DATA ntfs auto,user,exec,suid,rw 0 0 The problem is that I can't unmount it as normal user, when do that, receive: Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount UUID=35C595D5738A319A from /media/DATA

View 2 Replies View Related

Fedora :: Change Permissions On NTFS Partition?

Jan 24, 2011

I have an NTFS partition that I use to swap file back and forth between Vista and F13. I store school files in there, like documents and text files. When I use Nautilus to access the partition, I am always asked for my root password. This is a little annoying. Is there anyway I can keep this from happening?

I have my Windows partition set up to auto mount with fstab. I can access it fine in the command line and launchers that I created with out the root password. I suppose I could do the same for this partition, but I would like to access it directly with Nautilus if it is possible.

View 6 Replies View Related

OpenSUSE :: Setting Permissions On NTFS Partition?

May 3, 2010

I've recently installed an OpenSuse 11.2 in what I'd like to be a definitive jump from windows environment.I'm not very confident yet with my linux skills, so at this moment I've yet have both systems installed with a data NTFS partition to store music, movies, documents, and general data that I'd like to use in any of the two systems. The NTFS partition has no writting permissions for anybody except root user, so I can't work anything from my personal user without starting an app like su or login as root. I want to change this by making a group (windowsWriters) where my usual user is included wich I pretend to make the group owner of NTFS partition.

I've created the group and inserted my user into it, but I'm unable to change the owner group nor any permission on NTFS partition or any of it's subdirectories. I've tried to made it through opening dolphin as su (Alt+F2 kdesu dolphin) and through chmod in consolemode logged as root, in both cases the action seems to work correctly and no error is spotted, however when I look again at the partition/folder/file permissions/ownership no changes have been made.

View 9 Replies View Related

Ubuntu Networking :: Cant Add Rw Permissions To Fat Partition Using Pysdm?

Jun 20, 2010

Im trying to share a fat partition using samba. The sharing thing is not a problem thanks to samba which works perfectly.The problem is with the partition Im willing to share over my network. Everytime I reboot my machine, I have to go to Places and lect the Fat drive.I have read that I have to modify the fstab file to make it automontable. For this I have used pysdm to admin the fat partition and make it automontable. It works fine but Im unable to give write permisions to everyone to write over this drive. Even my user when using ubuntu has no write permisions on this drive.These are the comand Im using for pysdm

$sudo pysdm
And these are the params Im setting in fstab file with pysdm:
/dev/sdb1 /media/sdb1 vfat umask=777,dmask=777,fmask=777 0 0
Ubuntu wont mount the drive with this settings, only with "defaults"

View 2 Replies View Related







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