General :: Owner Could Not Execute Files Until Mounted In Fstab?
Nov 17, 2009
I'm trying to understand the last few hours... I installed slackware 13 yesterday in a multiboot system. On a seperate hdd from all the OS's I have my mp3 collection......I could play the mp3's as root after manually mounting sdb, but as a user I was unable to play them even though I chown'ed and chmod'ed 777 until I mounted sdb in fstab. The second drive was formatted ntfs by vista.
View 3 Replies
ADVERTISEMENT
Jan 9, 2010
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
View 9 Replies
View Related
Jan 23, 2010
The /mnt/ext is mounted to an ext2 filesystem, an external hard drive. For some reason I can't run scripts from there. Please see the session below.
luntain@plato /mnt/ext $ echo "echo success" > k.sh
luntain@plato /mnt/ext $ chmod 777 k.sh
luntain@plato /mnt/ext $ ./k.sh
[code]....
View 2 Replies
View Related
Nov 8, 2010
mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.But, when I mount it, I am not the owner of it! The owner is the default superuser of the system. So I don't have write permissions in the mounted directory.
View 4 Replies
View Related
Aug 10, 2010
I am creating a tar gzipp'ed archive on my local machine (as user1) using the following commands:
user1@devmachine:~/$ tar czpf
dir.tar.gz thedirectory
on the server, I untar it (as user 2) using the command
user2@servermachine:~/$ tar xzpf
dir.tar.gz
I find that the extracted files are owned by another user (say user3) What is the logic that is used to determine file ownership if the owner of the extracted file is not a user on the target machine? I am running Ubuntu 10.0.4 on both machines
View 1 Replies
View Related
Mar 10, 2011
For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
View 1 Replies
View Related
Jun 8, 2011
I have a directory cookie_tmp which is owned by some:fella. Session cookies are being created under this directory as How can I set the directory so that files are created and owned by some:fella ?
View 2 Replies
View Related
Sep 10, 2010
have recently installed ubuntu server on a new machine. I have added 3 users and I have assigned them to a group.The three of us work together on a lot of stuff so what I would like to do is to have a specific folder made the groups folder. All files that are created or moved into this folder should automatically be owned by the group. I.e. all 3 of us should have the right to read and write to these files.
View 11 Replies
View Related
Feb 8, 2010
When I use ls -al to show files downloaded from internet,
-rw-rw-r-- 1 427 6011 7544 Jul 20 2006 INSTALL
-rw-rw-r-- 1 427 6011 4229 Dec 9 15:36 Makefile.am
-rw-rw-r-- 1 427 6011 27893 Dec 10 17:47 Makefile.in
I can see the owner and group ids are shown because there are no corresponding entries in /etc/passwd and /etc/group respectively. I don't know much about linux and dare not to edit these files, I wonder if somebody already knows whether linux would map the owner id of files coming from other computers to the account name in /etc/passwd and display them when necessary (for example, when using ls -al)?
View 1 Replies
View Related
Jan 14, 2011
My Laptop has Ubuntu 9.04 and I am using it for the past one year. I have four partitions. Gparted Screen Shot attached.
/dev/sda5 was mounted as "Laptop 2"
/dev/sda6 was mounted as "Laptop 3"
But from today morning I was not able to access any of the files from my hard disk. When I press the "Computer" Menu Item from the "Places" menu I could access all the files on my hard disk. It shows an error message attached with this thread. The system boots perfectly and work perfectly. "Laptop 2" and "Laptop 3" disappeared.
I searched the net and found ways to mount the Partitions with these following commands.
sudo nano /etc/fstab
# /etc/fstab: static file system information.
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5) .....
Is there any way I could use "Laptop 2" and "Laptop 3" as my mount points as it was earlier.
View 9 Replies
View Related
Jan 16, 2011
I'm totally new with linux and Ubuntu. I've just installed 10.10 yesterday and since then it's been an uphill struggle These forums has helped me out quite a bit already so I hope you can continue doing it with this problem I have.I got a single drive where the bootpartition is ext4 and the other "storage" partition is a remenant from a windows 7 installation I had, with NTFS. Decided I wanted to give Ubuntu a try! Now i've run into permission trouble though, mainly because I wanted to set up an FTP server (oh what a struggle THAT's been, I have some stories... ). I've done a "mount --bind" so that I can reach different resources directly from my chroot. It turns out though that the mounted partition isn't giving anyone except the owner (me) permission to see the resources. FTPing into the server gives the mount points but gives a 550 error and can't list anything inside of them.It works perfectly for me just running it at the prompt or using the mount points directly in the Ubuntu GUI though (since I'm the owner/admin/whatever).
My intended solution that I've found was that people with NTFS drives did a few magic tricks with the line of text in Fstab so they could access their NTFS drives. Problem for me is that my sda3 mount isn't showing up at all in fstab, even though fstab is supposed to (as far as I know) show all mounted devices on there. All the while, I have my sda3 totally accessible from /media/Storage/. Any pointers as to why this is?After I installed Ubuntu, I just mounted the sda3 with the Disk Utility from System->Administation and didn't think much of it afterwards until now.What's the best course of action here? remount the ntfs partiton using fstab? Convert the ntfs partition into an ext4? I have a lot of data on there I want to keep as well.
View 4 Replies
View Related
Jan 6, 2010
I "upgraded" to Karmic and now my computer won't start. It shows the grub menu, I select the first Ubuntu option, and it shows the white logo. Underneath the logo these words appear, and it does nothing:Quote:One or more of the mounts listed in /etc/fstab cannot yet be mounted: /boot: waiting for UUID=338c820e..Press ESC to enter a recovery shell
View 9 Replies
View Related
Oct 27, 2010
I want to have a shared folder mounted on startup and I put the following in my fstab:
Code:
VMShare /media/VMShare vboxsf defaults,gid=1001,dmask=002 0 0
Where did 1001 corresponds to the virtual share group.
When I boot up the permissions are as follows(from ls -l):
Code:
drwxr-xr-x 1 root virtualshare 68 2010-10-27 15:45 VMShare/
So I'm curious why it's group permissions aren't the same as owner? In the fstab I put dmask=002 which should lead to rwxrwxr-x so basically full permissions for owner and group and read/execute for public. However thats not what I'm getting. Also once I get this working correctly am I going to have an issue if the virtualshare group isn't a users primary group? On some older unix servers I ran into this issue, hopefully it won't matter as long as the user in in the group.
View 3 Replies
View Related
May 18, 2011
ASUS eeepc900 Easy Peasy 1.6 (Ubuntu 10.04)
After I boot the 16GB second SSD disk is mounted as HOME on /media This seems to be a default. However there is no entry in /etc/fstab to do this. How does it happen?
I want to move my home directories to be on the 16GB disk so I need it to be mounted on /home rather than where it is by default which is /media/HOME
View 3 Replies
View Related
Aug 19, 2010
ubuntu 9.10. Won't boot. Not a new installation, no new hardware. When I boot it up into 2.5.31-22-generic safemode it says: One or more of the mounts listed in etc/fstab cannot yet be mounted: /home: wating for UUID...
Booted up w/ live CD, fsck says that /dev/sda3 is clean I have a 320 GB hard drive, 20 GB is the linux boot, 2 GB is swap, and the rest is /home. Palimpset Disk Utility can recognize the 20 & swap, but says the rest is unrecognized.
View 1 Replies
View Related
Jan 4, 2011
Is it possible to forbid a non-root to umount a partition that was mounted via fstab-entry?
View 2 Replies
View Related
Oct 3, 2010
recently i did a fresh install of 11.3 on an ext4 partition. My data disk is a ext3 and the new system mounts it during boot.I can write to it but i can not execute programs from this partition.in fstab i can not find something like "noexec"permissions of mount folder looks ok for me. e.g. execute compiled "hello world"
me:~/datadisk> ./hello
bash: ./hello: Permission denied
me:~/datadisk>
[code]...
View 6 Replies
View Related
Apr 21, 2009
How can I make a virtual host (right now I just use NameVirtualHost *:80) that will load the same page for every domain that matches imap.domain.com, smtp.domain.com, or pop3.domain.com?
View 4 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Oct 8, 2010
I have a disk that I access from several locations. I require that all the files created always have the same owner, at least group wise. I have different users (that are in that group) that need to be able to read/write all these files. I have these users access the files over samba, and sometimes locally on the server. I know that you can do something with a thing called sticky group or whatever, that files created in a dir with that flag will get the same group, but it has not worked consistently so far. It must also work for directories created by these users.The permissions should be 770 (chmod).Is there a way to set this up, that all files created always have the same group? Right now I am running a cron job every hour or so, to chmod and chown all the files to the right group, but this is far from elegant of course
View 3 Replies
View Related
Nov 18, 2009
On my RHES4 I noticed a load of files which had owner set as the owners uid rather than the actual username - is this usual behaviour ? On a similar system the same files actually have the username as the owner.It's just causing me issues as I have changed the users ID and now some thing's wont start meaning I have to manually do a find and chown on the system.
View 4 Replies
View Related
Dec 13, 2010
What are the best file persmissions and owner for web files?
View 1 Replies
View Related
Jun 23, 2010
I just want to know that how can I execute a example.sh (script) from command-line like other Unix commands. Please write full procedure
View 4 Replies
View Related
Mar 18, 2011
I am very new to Linux and everything I read says the android OS is based on Linux. That said I am evaluating 2 Android tablets. The Samsung Galaxy and the Motorola Xoom. I am trying to execute wmv files in a web browser, the wmv files download as .wvx rather than play. I have installed flash but the problem continues.
View 1 Replies
View Related
Jul 13, 2010
I've tried googling for an answer to my probably extremely easy question, but since I'm a complete beginner I just do not understand whatever I find.Same goes for the whole linux wiki. After many frustrations with Windows I've been trying unsuccessfully to get any version of Linux to try out. However, I always get stuck at the same point: downloading the version works fine, but then getting it to work! Then I get frustrated with Linux for being too complex for the quite computer savvy in Windows, but not a programmer, person. And I returned to Windows. Repeat every 2 months.
So now I am here, please do not start talking to me as if I understand words like kernel - that's where I get stuck.What have I done:
- working in Win7 (illegal version, since I have a netbook and legal downloads are not available in the NL yet)
- found and downloaded the 2 puppylinux files named lupu-500 and lupu_devx_500
- used Virtual Clonedrive to mount both files; looks like I have drive F: being recognized as a dvd-rom drive and drive G: named BD-rom drive.
- I double click either one to open and I get: "Windows can't access this disk, etc." for F: or for G: "Please insert a disk, etc"
I know this is a long post, but please help me or you're losing me to Microsoft again!
View 7 Replies
View Related
Nov 11, 2010
How do i chance the owner and group from multiple files at ones.
How to change the rights for all at ones i know!
View 1 Replies
View Related
Feb 7, 2010
no idea what went wrong. computer was apparently shutdown halfway through installing major system updates. now booting into terminal(gnome?), and displaying error messages: one or more of the mounts listed in fstab cannot yet be mounted: (esc for recovery shell) /: waiting for /dev/disk/by-uuid/[loooooong string of aplha-numeric(a/#) babble] /tmp: waiting for (null) swap: waiting for uuid-[another (diffrent-but-similar) string of A/# babble]~~user input: esc (the phrase: '^] pops up)
[Code]...
i'm over my head. i tried everything from chmod on 'lock' to gethost (which turned out to not be installed.) nothing is working yet.
View 2 Replies
View Related
Aug 16, 2011
I can't figure out how to make files have a different default owner:group.. Example:I need the users of my group called gpib, to create new files with: username:gpib, instead of the default: username:username
[Code]...
View 3 Replies
View Related
Nov 11, 2010
How do i chance the owner and group from multiple files at ones.How to change the rights for all at ones i know!.
View 1 Replies
View Related
Feb 4, 2011
The server is named alpha and is running Archlinux. It is exporting a directory named /files. The server is a couple of years old and I have accessed it extensively from clients running Arch, Suse, PCLinuxOS, and maybe some others, all with no problems. The clients (3 of them) are new installations of Linux Mint 10 (Julia). When I mount the nfs all of the nfs files are visible as expected. However, the owner/group is drastically different than on the server.
I might add that I have set up user id's and group id's the same. My user is 1003 on all systems, and the users group is 100 on all systems. When I am on alpha (via ssh), here is a partial file listing.
Code:
[dick@alpha dick]$ ls -l
total 9740
drwxr-xr-x 3 dick users 4096 May 16 2009 airplane
-rw-rw-r-- 1 dick users 240978 Jun 27 2009 Alice Grad 1934.pdf
-rwxr-xr-x 1 dick users 444 Jul 8 2007 alpha2ast
-rw-r--r-- 1 dick users 444 Sep 2 2009 alpha2charlie
[Code]...
If have searched the Mint forums, LQ forums, and google in general. I must be missing something in my search because I can't believe that no one else has this same problem and I am having it on 3 different boxes.
View 4 Replies
View Related