Ubuntu :: Change Default Permissions On USB Mounted Devices

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


ADVERTISEMENT

Ubuntu :: Change Default Permissions Of Removable Media Mounted Via Nautilus?

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

General :: Set Default Permissions For New Folders On Mounted Samba Volume?

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

Ubuntu :: Cannot Change Permissions On Mounted Share?

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

Ubuntu :: Change Default For Opening Mounted Volumes In Unity Launcher?

Apr 29, 2011

I automount two NTFS volumes on login. These display in both the desktop and the Unity launcher.

The first time I clicked one of them in the Unity launcher, it asked if I wanted to use Nautilus or Thunar. I chose Thunar.

Now, when I open the volumes in the Unity launcher, it always uses Thunar. When I open the volumes on my desktop, it always uses Nautilus.

Is there any way to standardize these, so that I use either Thunar or Nautilus, but not both? And how do I switch back and forth? Where can I reset the Unity launcher to use Nautilus again?

View 9 Replies View Related

Ubuntu :: Change Default Mount Options For Removalbe (vfat) Devices?

Mar 4, 2010

I want to change the default mount options for removable devices, especially vfat devices, to have shortname=lower instead of the default shortname=mixed mount option. I googled around, and found references to /system/storage/default_options/vfat/mount_options gnome configuration option, but I don't seem to have this option set, actually, I don't seem to have a /system/storage tree in gconf-editor at all. searching in gconf-editor doesn't really yield any results.

View 7 Replies View Related

Ubuntu :: Change Default File Permissions?

Jul 3, 2011

my dad has been using Ubuntu for a few weeks now and likes it, however he's having some issues regarding read-only files. He's a doctor and frequently has to download word files to edit, however they always download as a read-only file. While this isn't particularly difficult to do, he finds doing it tiresome and because he isn't the most proficient PC user, may have difficulty with it when I return to school after the summer. I was hoping that there's some way to change the default settings so that all files downloaded are writeable.

Additionally, he has a number CD-RWs which he both retrieves files from and stores them to, however when trying to access these CDs he is told that they are read-only. Right clicking on the CD and trying to change the access permissions doesn't work (says that permissions can't be changed because the disc is read-only).

View 7 Replies View Related

Debian Hardware :: Multiple Sound Devices - How To Change The Default Device

Mar 19, 2011

I recently installed a new sound card, and I need to find out how to change the default device. Currently, I'm dual-booting Windows, and I had re-enabled the on-board audio in the PC's bios. After doing that, Debian started detecting that on-board as the default sound device. Is there a way to set my sound card to be used instead? I found out that the 'alsaconf' utility has been phased out. I"m currently running Debian testing, for amd64.

View 4 Replies View Related

General :: Change Default File Permission For Mounted Windows Network Share?

Jul 26, 2010

I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?

Maybe this question also applies for Linux mounting a Windows network share.

View 1 Replies View Related

Debian :: Change Default Permissions For Newly Created Files?

Jan 19, 2011

I'm new to Debian. I've read the documentation on this but it is too heavy for a new user to understand. I would like to change the default permissions for newly created files/directories.

I want all newly created files by 'user1' to have the default permissions of:
1. "owner can read and write"
2. "group can read and write"
3. "other can read only"

Permission 1 and 3 are already default. But I would like number 2 to be default as well. (the current default for group is read only).

View 9 Replies View Related

OpenSUSE :: Change Default Permissions For New File Created With Dolphin?

Jun 28, 2011

When I create a new file/folder in a ext4 data partition, it has permissions:

owner: rwx
group: r
other: r

I would like to change this default to:

owner: rwx
group: rw
other: -

I tried changing fstab, but umask and guid are not supported mount options for ext4. What can I do?

Note: I know I can do a chmod, but I don't want to do this again and again for every new file I create.

View 9 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

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

Ubuntu :: Drives Mounted To Different Devices On Startup?

Apr 30, 2010

My computer has three drives: one with windows7,one as a storage drive, and an ide drive. I have ubuntu 10.04 installed on a seperate partition on the storage drive (+swap partition).I have "/etc/fstab" automatically monut these drives on startup:

Code:
/dev/sdc1 /media/win7 ntfs-3g quiet,defaults,rw 0 0
/dev/sdb1 /media/storage ntfs-3g quiet,defaults,rw 0 0

[code].....

View 4 Replies View Related

Ubuntu :: Reset Apache 2 Permissions To Default Permissions?

Mar 16, 2010

Is it possible to reset apache 2 permissions to default permissions I'm using Ubuntu 9.10 command line server, would webmin give me this access ?

View 1 Replies View Related

OpenSUSE :: How To Recognize Mounted Devices

Apr 13, 2010

I have recently mounted my iPod Touch using ifuse, and it works with gtkpod and I'm very pleased about that! However, I'm interested in finding out how openSUSE recognises what devices are mounted? Because the device manager in the task bar doesn't recognise that it's mounted... Dolphin doesn't recognise it and neither does Amarok. Only gtkpod, which is good, but I want other applications to recognise it. Do I need to mount it in a specific location? Currently it's at /mnt/iPhone. Or do I need something in fstab (I'm just guessing here).

View 1 Replies View Related

Ubuntu :: USB Devices Arnt Mounted On Boot NATTY?

Apr 29, 2011

last 3 rounds of updates to my Lucid system produced various problems, though each a solution to the previous issue. So I decided to upgrade to natty, and get new problems. LOL.

SO, my USB mouse and keyboard no longer mount on boot. If I unplug the keyboard and mouse, then re-insert them, they work fine.

View 2 Replies View Related

OpenSUSE Install :: 11.1 - Two Devices Mounted On One Directory

Jan 11, 2010

I have 3 disks in my PC which are partitioned equally as I use them for Raid 1.The first partition on every disk is a simple ext2 partition for booting. No Raid there. So I mount them as /boot and /boot2 and /boot3. So I can backup my /boot to the other boot directories. That worked for some month and this morning I just want to look if all directories have enough free space left. So I did a df -h and got this:

Code:
Dateisystem Grove Benut Verf Ben% Eingehängt auf
/dev/mapper/system-root
6,0G 301M 5,4G 6% /
udev 1,5G 292K 1,5G 1% /dev
/dev/sdb1 122M 29M 87M 25% /boot
/dev/sdc1 38M 21M 16M 59% /boot2
...
/dev/sda1 122M 29M 87M 25% /boot
As you can see /dev/sda1 and /dev/sdb1 are both mounted on /boot

Here is what mount says:
Code:
/dev/sdb1 on /boot type ext2 (ro,acl,user_xattr)
/dev/sdc1 on /boot2 type ext2 (ro,acl,user_xattr)
...
/dev/sda1 on /boot type ext2 (ro,acl,user_xattr)

This is no Problem for me as I could just remount it correctly, but I would like to know if this problem is known. I did not change anything by now and this PC is a server which is running 24/7, so I can deliver more debugging Information if someone is interested.

View 9 Replies View Related

Ubuntu :: Mounted Devices Not Showing In Dolphin Places List

Jan 16, 2011

This is probably me looking but not seeing an option somewhere. I re-installed 10.10 over 10.04 by formatting the root partition but keeping the home partition the same, to save me a lot of work. (64 bit) However, now when I mount a CD, DVD or USB stick, they don't appear in Dophin's "Places" window. What have I missed please?

View 2 Replies View Related

Debian Multimedia :: Banshee 1.6 - Android Devices Not Mounted

Dec 28, 2010

I have a sony x10mini and it is correctly seen in nautilus and shotwell. But nor in banshee 1.6 (testing and sid) nor in 1.9 (experimental) is mounted. Fact is that I know it works for sure in fedora and debian so I wonder if it a problem of some dependency missing, configuration or permissions. I use the testing distro by the way...

View 11 Replies View Related

OpenSUSE Hardware :: KDE Mounted Devices Sometimes Do Not Remove Folder

Aug 29, 2010

When booting opensuse 11.2 or 11.3 there is automatically created a folder in /media to mount my external usb drive (in /media/disk). The problem I have is that sometimes these folders are not automatically removed when I shut down. On the next time boot this device is mounted at /media/disk-1 or /media/disk-2 which throws off for instance Krusader or Amarok. Also the folders that are not removed seem to have really strong permissions such that I can't even browse into them in Krusader or Dolphin. I have to manually clean the /media folder as super user so that when I reboot, they are in /media/disk. Does anyone know how to ensure that opensuse removes the folder(s) upon shutdown?

View 8 Replies View Related

Debian :: Removable Devices Auto-mounted As Read-only?

May 29, 2010

Quote:

Currently when I insert a removable device, it is auto-mounted as readonly. To use it I have to do this every time.

Code:

sudo umount /dev/xxx
pmount xxx

This applys to every removable device I have, and did not exist on my previous distro. Debian amd 64 Squeeze [URL]

View 5 Replies View Related

General :: Displaying Mounted Devices - Incorrect Info?

Feb 11, 2011

Sometimes when I try to display the mounted device in linux it displays devices which are not currently mounted. I want to correct this this using script.

View 1 Replies View Related

Ubuntu :: Bash Script - Run Different Rsync Cmds Based On Which Devices Are Mounted

Apr 2, 2010

having my data backed up properly, but it's also in different places (e.g. photos and music on separate flash drives), so I have a few rsync's that I can execute manually, drives are mounted. Unfortunately, it gets confusing very quickly, I'd like a simple bash script that goes something like this (this pseudo-code would be most like REXX):

pair.1 = (/dev/sdb1, /dev/mmcblkp01)
pair.2 = (/some/other/device, /yet/another/device)
for i = 1 to #pairs

[code]....

Seems simple enough, but I've never written a bash script and wouldn't know where to start.

View 5 Replies View Related

Debian :: How To Find Out Mounted Devices Loaded At Boot Time

Apr 20, 2010

I am trying to find out the command to list all the devices mounted at boot-time.

View 5 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

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 View Related

Ubuntu :: Permissions Of Mount Points For Automounted Devices

Jan 14, 2010

Ubuntu 9.10. I have a problem - when I mount other partitions of my hdd or the system automounts usb disks these are mounted in /media directory with permissions 0700. So there are two problems there:
- When I switch user on my desktop to another that user can't read data from the usb disks
- I can't share data through network because smbd doesnot have read permissions on the created mount points

I think editing /etc/fstab is wrong way, there would be more right way to change permissions on mount point. I tried to change/add parameters umask, allow_other in gconf-editor (/system/storage/default_options, subsections vfat and ntfs-3g) but that does not show any results. Article [URL] recommends Open Places → Computer. Every volume except the generic File system one should have a Drive and Volume tab in its properties dialog where you can set mount options. But I did not find those tabs. Where should I set option to mount usb disks with permissions rwx for every user of my system?

View 9 Replies View Related

Server :: Changing Permissions On NFS Mounted Directory?

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

Slackware :: Setting Permissions When USB Devices Plugged In

Jan 25, 2010

When I plug in a USB GPS device, using cypress_m8 module, is creates /dev/ttyUSB0 with read/write permissions for owner,root, and group, dialout. My question is really just where are the rules for setting these permissions and how exactly are the owner and group names set when /dev/ttyUSB0 is created, i.e. a serial USB device is plugged in.

View 3 Replies View Related

General :: Setting Up Group Permissions For A Mounted Share?

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







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