2
votes
2answers
46 views

mount changes directory permissions to admin:admin?

I'm mounting a samba share from one CentOS server to another using: mount -t cifs -o blarg,password //10.151.170.170/events /var/blarg/copy-to When I do this the permissions of /var/blarg/copy-to ...
1
vote
1answer
21 views

Mount image user-readable with udisks2

Loop devices, i.e. for mounting raw disk images, can be managed without root privileges using udisks. For testing purposes, an image can be created and formatted like so: dd if=/dev/urandom ...
4
votes
1answer
37 views

Sharing a local directory between local users with full permissions

How do you share a directory /home/shared between two users "eris" and "discordia" such that both can access the directory in their respective home directory, e.g. /home/eris/shared and ...
1
vote
1answer
26 views

Mounting a device without read permissions

It is possible mount a flash drive without read permission?
1
vote
1answer
55 views

.Operation not permitted. For root user?

In order to find a workaround for a problem I had yesterday (see the question here) I come out with another experiment. After inserting a flash drive (vfat) and mounting its only partition I ...
3
votes
1answer
71 views

NFS partition mounted as read only

(Disclaimer: I've read "NFS sharing is read only" and I think it's not the same problem) I have just setup NFS on my raspberry (Raspbian) and I'm trying to access it from OSX. So far so good, I can ...
2
votes
2answers
124 views

Allow NonRoot User to Mount a Particular NTFS External Hard Drive

I have a 4TB external hard drive connected to an Linux server. The fstab permissions on this drive are set so that only one particular non-root user has access to it: ...
0
votes
1answer
45 views

How to set automatically permission at automount without mask

I store my data on a NTFS parition to share it with my Windows. I use the dmask,fmask option in my fstab entry to avoid rwx default permissions to everyone, for coherence, security, and also because ...
7
votes
1answer
272 views

USB drive permissions when automounting

On Debian there is the common problem, that you try to plug an ntfs formatted USB harddrive and then can't write to it as a regular user to it because the directory belongs to root. A little time ago ...
4
votes
2answers
64 views

File executable by all, yet still cannot be executed?

As shown by the following code: ll total 136 -rwxr-xr-x 1 kaiyin kaiyin 19067 May 9 2013 dbmeister.py -rwxr-xr-x 1 kaiyin kaiyin 1617 Jul 29 2011 locuszoom -rwxr-xr-x 1 kaiyin kaiyin 112546 May ...
2
votes
3answers
106 views

How do I change owner/permissions of auto mount on an embedded linaro based linux

I have an ARM based embedded system that when it auto mounts a USB drive it mounts it: drwx------ 6 linaro linaro 2048 Jan 1 1970 PENDRIVE I need to change the permissions and possibly thew owner ...
0
votes
1answer
144 views

Can't execute a file with execute permission bit set [duplicate]

Well I'm just too green to Linux, but I'm stuck with a thing that I should know, and I don't. My file has the following permission bits sets: -r-xr-xr-x is owned by root ( but it should not matter ...
3
votes
1answer
67 views

Why does a manual mount set different file ownership?

I've been using the terminal for almost everything: in fact, I often don't even log in through the interface, I use the tty1 and go to the web with text-browsers. So, the external drive doesn't ...
2
votes
1answer
185 views

Mount NTFS drive with 777 permissions

I need to mount a NTFS drive with permissions set to 777. The code i have in fstab now is: /dev/sdb2 /disk ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0 But ...
1
vote
3answers
283 views

udisks2: permission denied

When I mount blank btrfs partition in Dolphin, I get "Permission denied" on write. You can see that it's mounted on /run/media/%username% dir which is correct, but owner is root. [doctor@doctoror ...
0
votes
2answers
215 views

fstab mount drive as my /home

I am trying to: mount my 2TB external USB hard drive as my home directory at /home/peter ensure that the home directory is owned by me (not root) do all this automatically at bootup Currently: ...
1
vote
3answers
180 views

Can't change group of files on mount point

I have mounted some ntfs drives. /etc/fstab looks like this: /dev/mapper/fedora-root / ext4 defaults 1 1 UUID=b6603ac8-e004-4cd6-b141-9bc95409e32a /boot ...
0
votes
1answer
99 views

mount tmpfs preserve current permissions

I have a directory of a web application cache and this has the permissions 755 (default), and I configured setfacl additional permissions. the problem is that when I restart the system, the ...
1
vote
0answers
519 views

Permission denied for user accessing mount

Using root I can mount another Linux share no problem. root@crunchbang:/mnt# mkdir javalib root@crunchbang:/mnt# mount -t cifs //10.1.3.7/javalib ./javalib -o username=guest Root can read/write to ...
2
votes
0answers
1k views

Permission denied when Ubuntu is attempting to mount to a remote Windows share folder

Fellow guys, I encountered the error when I's mounting my Ubuntu server to a remote Windows share folder, the following is the error on terminal after I typed command line 'mount -a': mount ...
1
vote
1answer
41 views

Lightweight userspace sandboxing of filesystem

I would like to trick a non-malicious process to think that it is writing to directory $HOME/abc/def/ while it writes in fact to $HOME/xyz/def (the former path is hardcoded and it does not work for my ...
0
votes
0answers
122 views

Why can't users besides root create files in a samba share?

I am sharing a directory on one Red Hat machine via samba, and mounting it on another Red Hat machine with the following command: mount -t cifs -o guest <remotepath> <localpath> The ...
2
votes
2answers
1k views

Unable to change permissions of file system root

When I write ls -la the output is : tusharmakkar08-Satellite-C660 tusharmakkar08 # ls -la total 88 drwxr-x---+ 10 root root 4096 Apr 18 19:43 . drwxr-xr-x 4 root root 4096 Mar 18 17:35 .. ...
0
votes
1answer
802 views

External HD: “Permission Denied” on file write

I have a 3TB external hard drive that I plan to use for backups. I originally tried formatting with cfdisk, until I learned that only GPT supports 2TB+ partitions. So I converted the drive to GPT ...
1
vote
0answers
844 views

How to mount samba rw because everything fails

I'm trying to mount windows share on my laptop and everything mounts ok but somehow I get permission denied when I try to create new file inside mounted folder. I tried noperm, uid, gid, noacl etc. ...
5
votes
2answers
9k views

Mount cifs Network Drive: write permissions and chown

I have access to a cifs network drive. When I mount it under my OSX machine, I can read and write from and to it. When I mount the drive in ubuntu, using: sudo mount -t cifs -o ...
1
vote
1answer
279 views

Having owner access on files upon mounted NFS directory

I have a Linux RedHat server and a Solaris 10 client. I have mounted a directory which locates on the RedHat server, in the Solaris system with RW(read/write) option. I already have some directories ...
2
votes
1answer
8k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
1
vote
1answer
366 views

Correct owner, group and permissions when mounting an image file

Suppose I have an image home.img of a home partition of another linux machine (B). On that machine there is a users userB and there is a special group, groupB. Consider for example a file fileB in the ...
2
votes
1answer
658 views

Mounting a Windows partition without giving execute permission

How can I mount a Windows partition so that the files within it don't have execution permission? I mount a Windows partition using: sudo mount /dev/sda3 win win is a folder in my home dir. This of ...
2
votes
4answers
8k views

Device is Mounting as Read Only (Can Copy Files as Root)

I am attempting to mount my Amazon Kindle, 3rd Edition. It automounts correctly and when I run mount -l, I get the following output: /dev/sdg1 on /media/usb0 type vfat ...
2
votes
1answer
2k views

How can ubuntu/truecrypt be configured so users can mount volumes if-and-only-if they have proper permissions on the mount-point?

If I add the line: ALL= /usr/bin/truecrypt to the sudoers file this lets all users mount volumes at arbitrary mount-points. The problem is a user could create a truecrypt volume and then mount it at ...
2
votes
1answer
1k views

Mount drive from redhat to a windows share with CIFS

I have been trying to mount a drive, but anything i do i get 'Access Denied', I tried: mount -t cifs //192.168.x.x/m -o username=user,password=mypass /mnt/mymount mount -t cifs //192.168.x.x/m -o ...
2
votes
2answers
6k views

Mount device with r/w access to specific user

How can I mount some device with read-write access to specific user?
0
votes
1answer
472 views

trouble with irssi and cifs

I'm having trouble getting irssi, the irc client, to write to a mounted cifs share. I have the uid, and gid set to my user as well as setting the permissions on the share to being very permissive. ...
4
votes
4answers
2k views

mount ramfs as user

My fstab entry: none /home/jreinhart/ramdisk ramfs defaults,user 0 0 The directory before mounting: drwxrwxr-x 2 jreinhart jreinhart 4096 Oct 17 11:31 ramdisk The directory after ...
2
votes
2answers
771 views

Mount permissions always blocked

How do I authorise my non-root user to manually mount/unmount ALL media on my desktop. I always get denied permission. Media refers to all mountable USB devices and other partitions on my HDD as ...
4
votes
2answers
2k views

Permission denied (even as root) on a mounted ISO image with Furius ISO Mount

I mounted a ISO image with Furius ISO Mount. I cd to the mounted directory and tried to copy a file with sudo cp file /dir but cp writes error message cp: cannot stat `file': Permission denied ...
3
votes
1answer
147 views

mounting volume protected against user access

I need to mount a directory in a way that prevents user accessing it. However I need to have access to all attributes (including permission) from root. Is following method safe or is there a way ...
2
votes
2answers
3k views

how to chown mounted device?

When I plug in my external hard-drive when running KDE, it prompts me to mount the device (by clicking an icon, no sudo involved), and once I've done that I am the owner of the files. This is great. ...
0
votes
2answers
757 views

Changing owner of NAS drive

I have setup a Freenas system that I would like to mount on my Ubuntu Desktop. Freenas is configured with cifs service. When I open the freenas server in nautilus smb://freenas/homenas/ I can create ...
6
votes
2answers
5k views

Make all files under a directory read-only without changing permissions?

First, some background: /dev/md1 is a RAID-0 array serving as primary file store. It is mounted to /var/smb. /dev/md2 is another RAID-0 array storing backup snapshots taken from /dev/md1. It is ...
3
votes
1answer
440 views

Permissions issues with mounting remote server into a specific folder

I'm doing the following to mount a remote server to a specific path on my server: sshfs user@remoteserver.com:/backup/folder/ /home/myuser/server-backups/ However when I mount the server the folder ...