Debian Hardware :: Change Where USB HD Is Mounted

Feb 6, 2015

I've been scouring the net and I'm sure it's something simple but here's my problem. I have a BeagleBone Black running Debian from a uSD card. I also have a 1TB WD My Passport external HD. If I have the external drive plugged in when I boot it is mounted under /media/My Passport it is formated NTFS since it was being used for windows. Being that I'm planning on eventually planning on making this a nas/owncloud device mounting at boot is fine but I would like to mount it under another directory. I've looked in /etc/rc.local and /etc/fstab and it does not mention that drive in either place and autofs is not installed.

View 5 Replies


ADVERTISEMENT

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

Slackware :: Can't Change Permission Under Ntfs Mounted Fs

Jul 25, 2011

when i try to change permission for any file under mounted ntfs partitions (without any errors) it remains the same after changing.

#cat /etc/fstab

Quote:

/dev/sda3 swap swap defaults 0 0
/dev/sda4 / ext4 defaults 1 1
/dev/sda1 /win/C ntfs-3g fmask=111,dmask=000 1 0

[code]....

View 9 Replies View Related

Ubuntu Networking :: Cannot Change Permission On Mounted SMB Volume

Apr 27, 2010

I am trying to mount Samba share with following command

Code:

mount.cifs //192.168.0.3/shmelevsky /mnt/tmp/ -o user=shmelevsky,uid=1000,gid=1000

it works fine, I could create/edit files and folders, bu I could not change permission for them:

Code:

root@darkstar:/mnt# chmod 700 tmp/www/
chmod: changing permissions of `tmp/www/': Permission denied
root@darkstar:/mnt#

View 6 Replies View Related

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

Slackware :: Can't Change Permission Under Ntfs Mounted Partitions

Jul 25, 2011

the permission remains the same after changing it without any errors

# cat /etc/fstab

Quote:

/dev/sda3 swap swap defaults 0 0
/dev/sda4 / ext4 defaults 1 1
/dev/sda1 /win/C ntfs-3g fmask=111,dmask=000 1 0

[code]....

View 1 Replies View Related

Ubuntu :: Change Previously Generated Names For Mounted Drives?

Sep 24, 2010

Basically I have changed the default mount names for my windows partitions in Ubuntu. They were /media/data, /media/data_,/media/system reserved, etc

They are now /media/C,D,E,F

I have rebooted etc after the changes and when I look in Gnome places or in Nautilis the OLD names still show up.

HOWEVER when I run Nautilis as the root user all the CORRECT NEW names appear.

ALSO - if I create a BRAND NEW user account and login as that all the OLD names show up?

So this is something to do with ROOT access or whatever that is not allowing the names to be updated somehow?!?!?

As I use these disks in windows (obviously) I DONT want to change their labels. and basically this SHOULDN'T be the solution everyone is suggesting!

Root can generate the new names automatically based on the mount point in FSTAB why can't other users - and HOW to do do it MANUALLY?

View 5 Replies View Related

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

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

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

Software :: Changing Icon On Fat32 Partition / Cannot Change Icons Partition Is Mounted In Fstab?

Aug 17, 2010

using suse 11.3 and kde 4.4.4 on the mounted fat32 partition I cannot change icons partition is mounted in fstab in this way:/dev/sda8/ /dati vfat user, users, gid=users, umask=0002, utf8=true, 0, 0.I can create files folders modify, move and save them on the partition but if I try to change the icon (in dolphin right click>properties>click on icon) of the /eros folder (or any other folder or link) system gives me
this error:impossibile salvare le proprieta' , non hai accesso sufficiente per scrivere su /dati/eros/.directory tha in english is something like this: impossoble save properties, you havent enough permission access to write on /dati/eros/.directory this happen also as superuser I remember that with suse 11.0 or 10.3 I was able to change icons on fat32 partitions, now with 11.3 I cannot, there ought to be a way to do what I did with the previous version with this 11.3 brand new ad more advanced version shouldn't it?

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

Debian :: Swap Is Not Mounted At Boot?

Sep 9, 2010

My swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.

View 11 Replies View Related

Debian :: HDA5 Cannot Be Mounted NTFS 3G

Oct 8, 2010

I've carelessly installed grub on hda5 instead of hda, using:
# grub-install /dev/hda5
And now my hda5 cannot be mounted with ntfs-3g. Here the error message 'mount' gives:
Failed to mount '/dev/hda5': Invalid argument
The device '/dev/hda5' doesn't seem to have a valid NTFS.

As far as I know, grub-install rewrites the 1st sector of the device, and I've been reading this guide on recover the 1st sector of an NTFS partition. The problem is that the Disk Probe tool is available in Windows only. Is there any similar software in Debian to do the same thing (i.e allows us to edit sectors of the hard drives available in the computer)? Any easier tool / method to restore the NTFS partition without read and write sectors manually.

View 4 Replies View Related

Debian Multimedia :: Os Crashes When Mounted DVD ROM

May 22, 2010

when I mount DVD-ROM to some files from xterm, the systerm never responsed! I used this command: sudo mount -t iso9660 /dev/cdrom /mnt/cd I search some info from google ,some guys say these info may help ,but I don't understand why it cab be crashed when I mount the CD from DVD-ROM.

/etc/fstab
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
lrwxrwxrwx 1 root root 3 05-22 19:54 /dev/dvd -> sr
dmesg |grep hd
[ 9.126848] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS.

View 10 Replies View Related

Debian :: Drives Mounted On Desktop

Jul 13, 2010

i had the problem of mounting the windows drives on to Debian OS. i got it fixed with some help.now i can access it from COMPUTER. BUT my all Windows Drives (C,D..)are also seen on my Desktop.(with computer,home, trash C,D......)can it be made invisible/Not on the desktop?

View 1 Replies View Related

Debian :: Procbususb Is Already Mounted On / Proc / Bus / Usb

Sep 25, 2010

I'm getting these Message during Lenny startup:
Code:
mount : according to mtab, procbususb is already mounted on /proc/bus/usb failed.What's wrong and howto solve this problem?

View 2 Replies View Related

Debian Installation :: Software CD Not Being Detected / Mounted

Nov 29, 2010

I have successfully installed debian and updated it. After few days of installation maybe around a month. I tried to install some other software from synaptic but my installation CD isn't being detected like before. What do I do? The CD can be opened etc., but its not getting mounted as /cd-rom/ which the synaptic packagemanger searches most of the time.

View 2 Replies View Related

Debian :: Save A Document In A Mounted Partition?

May 9, 2010

I am trying to save a document in a mounted partition but its says I don't have the permissions to save the file. It says this for any partition. I am only able to save it in my home directory. How to I solve this. Basically I am trying to access a file in linux in windows xp. So I need to save the file in fat 32 partition which it is not allowing me to do.

View 4 Replies View Related

Debian :: Not Loading \ Gets Stucks At Mounted The Root?

Jun 3, 2010

I hv installed debian (lenny). My problem is that sometimes it loads perfecly, but on other times it gets stucks at mounted the root. and waiting for the root. wht shd i do?

View 14 Replies View Related

Debian Configuration :: How To Resize Mounted Partition On LVM

Oct 24, 2015

I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.

System Configuration:

I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.

What are the methods reduce this partition?

View 8 Replies View Related

Debian Configuration :: How To Run Fsck On Mounted Drive

Apr 22, 2016

How to run a fsck on a mounted drive? I attempted unmount and it said no. I suddenly got an error 4 and trying to run a check, and it aborts with can't cause mounted.

View 10 Replies View Related

Debian :: No Write Access To Mounted Volume (over Samba)

Aug 10, 2011

I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials.

When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.

I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".

How can I overcome this problem?

- Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?

- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?

- Should I do any extra configuration before the mounting etc?

View 2 Replies View Related

Debian Configuration :: LVM Partitions Not Getting Mounted At Boot Time

Apr 18, 2010

I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?

View 5 Replies View Related

Debian Configuration :: Safely Removing Mounted USB Device

Jan 7, 2011

I'm not sure if this is a bug in Squeeze beta 2 or if it's something I've overlooked. I have a Maxtor 250 GB external USB drive that I use for backups. It gets auto-mounted fine, always in the same place, and from my normal user account I can write to it, even delete directories on it if I want to. But when, from Gnome, I select the "Safely remove" option, I get an error to the effect that it can't stop the device. The weird thing is that the thing actually *is* unmounted. I've checked the mount point and it's no longer there.Is there some package I maybe should've installed but haven't? I'm not really worried about data loss, since I'm sure the drive wouldn't unmount unless it was properly synched; it's just the error message that bugs me.

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

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

Debian Installation :: All Partitions Mounted At Boot Time (Squeeze)

Dec 5, 2010

I am using Gnome and Squeeze. I am wondering if I have a problem of understanding, or a problem that I found with Gnome.

My configuration is with a 3 hard disk system.

disk1 (Debian)
disk2 (XP and Fedora)
Disk3 (W7 and a Data partition)

When I boot and log in, all partitions for disk2 and disk3 are mounted read-write. Only by going to command line am I able to unmount the drives with the following sequence

cd /media
umount *
umount *

I should be able to mount and umount a drive by providing or responding to a root password. But I am not given the option to present a password. My request is blocked.

I also do not want to see the drives remounted after a boot. I tried to find out how this was managed, but I was unable to discover the module and it's parameter list that controls or does this task.

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

Debian Configuration :: Apt Update Errors On Locally Mounted Repos

Nov 27, 2015

My primary repos are DVD .isos on my hard drive loop-mounted in /etc/fstab. Although I can install packages just fine and there are no issues with running installed applications, I must have screwed up the configuration of /etc/apt/sources.list because I get this output when I do apt-get update:

Code: Select allIgn file: jessie InRelease
Ign file: jessie InRelease
Ign file: jessie InRelease
Ign file: jessie InRelease
Ign file: jessie InRelease

[Code] .....

Here is my rather primitive but functional /etc/apt/sources.list:

Code: Select all# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main
# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main
deb file:/dvd1 jessie main contrib
deb file:/dvd2 jessie main contrib
deb file:/dvd3 jessie main contrib

[Code] ....

So what exactly have I screwed up?

View 0 Replies View Related







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