General :: File Permissions Handled On External Media And Other Computers?
Jan 30, 2010
I was wondering, what if you had a flash drive formatted with an FS that has UNIX permissions. Then what if you copied some of your files onto it. And then put it into another computer that has a user account by the same name. WIll the user be able to access the files?What if you named your own user differently on the other computer, will you be able to get your files?
View 14 Replies
ADVERTISEMENT
Mar 14, 2010
I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.
I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.
View 2 Replies
View Related
Jul 23, 2009
Picture the following:On computer A, local user John (and John alone) has rwx access to file1.txtComputer B also has a local user account named John. If file1.txt was to be copied from computer A to computer B, would the user account John on computer B be able to access it?I guess this wouldn't work using two windows computers due to the User name / GUID relationship. Maybe linux has something similar?
View 4 Replies
View Related
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
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
Mar 24, 2010
I'm sure that the issue I'm having is easily solvable once I gain some understanding about copying files - and file permissions in Ubuntu. Here's my situation:
I have an external HDD where I like to back up some files (I mess around with distros on my main machine and feel less stressed knowing the important stuff is backed up). I have an ext4 partition on the external drive where I have copied files, both through the terminal (cp 'filename' /dev/sdc3) and by drag and drop (gnome-terminal).
The problem is, once the files are copied, most are inaccessible. I can view them, but some directories and individual files say I do not have permission to open them. Others are accessible. This is from the same user profile that copied them.
How do I see what's going on? More importantly, how do I make files on external drives available to any user or OS (that can handle ext4)? I want to make sure that if my whole system gets effed that I could still do a reinstall of my OS and then access those backup files.
View 5 Replies
View Related
Jan 16, 2011
I was trying to change the mounting point of a usb external drive from '/media/disk' to '/media/Movies'
Here is were the stupid part takes over... I right clicked on the desktop icon for the device and selected Properties. From there I selected the Volume tab and in there I changed the mounting point to '/media/Movies' It accepted it and said the changed would take place when I unmounted it and remounted it. However, when I did this it now says it cannot be mounted as it says mount_point contains invalid characters usually /
Unfortunately, now I cannot get back into the properties to remove my error.
View 4 Replies
View Related
Jun 13, 2011
I'm Ubuntu ex-fan (because of gnome-shell).
On Ubuntu, there was this very sane feature (for laptop/desktop user): when you insert a thumbdrive or external usb media, the system mounts the media and sets all the correct permissions for the current non-root logged in user.
What do I have to change/edit/configure to make Fedora 15 behave like this?
View 1 Replies
View Related
Mar 27, 2011
I'm trying to change the permissions of my external USB drive that i've plugged into my machine. It still reads user root and group root. I've tried chown -R kuier /home/kuiper/file Then chgrp -R users /home/kuiper/file But it still doesn't change permissions. I've also tried editing /etc/group and adding my name to plugdev group. nothing seems to be working?
View 1 Replies
View Related
Sep 14, 2010
I am booting a certain system of mine with ubuntu 9.10 from external HDD. I am satisfied with the setup and it works fine, however I would like to modify it so that I can choose which graphic card drivers to load during the boot time. Specifically I would like to choose between:
nvidia proprietary driver
ati proprietary driver
generic driver
Currently if I am using proprietary drivers then dont boot into X, delete xorg.conf, start gdm and reconfigure the system using jockey (for hardware drivers).
What would be the steps to make this (semi-)automatic and avoid restarting X?
Where could one find examples of such scripts?
View 4 Replies
View Related
Dec 24, 2010
Kubuntu 10.10 nicely mounts vfat external media as UTF-8, see for example my disk-on-key:
Code:
/dev/sdd1 on /media/DOTANCOHEN type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1002,gid=1002,shortname=mixed,dmask=0077,utf8=1,showexec)
However, NTFS external media is not UTF-8, and it is giving this user a hassle as her native language cannot be represented in ASCII: Code:
[Code]....
View 2 Replies
View Related
Aug 19, 2010
My media library isn't huge, but it isn't tiny (~50 GB). Every month or so, I just manually copy ~/Music, ~/Pictures, and ~/Videos to my EHD, and delete the old backup. But this is far from ideal. It's pretty slow, for one thing (~50 GB all together). It also isn't versioned, so if I ever want to go back multiple versions, I'm out of luck.
Is there any simple, stable, incremental way to do this? I'm open to using traditional version control systems like Git for it, although I haven't used them before for anything other than code. Command-line is fine (especially if it's scriptable). I only need to back up these 3 folders--anything that's not media is stored in my Dropbox.
View 1 Replies
View Related
Aug 11, 2011
i am trying to play some avi movies in my centOs but there is an erro
View 3 Replies
View Related
Dec 11, 2010
I plugged in my external dvd-r (asus) via usb. It showed me some message on shell, that it has detected the cdrom(although its dvd rom as well but nevermind) and its of ASUS. But how do i know which dev it was associated with in /dev/? Since i had to test something, i plugged it out, and save the output of ls /dev/ > ~/result.txt
after plugging the dvd-rom, i compared the results and was able to find that it was associated with simple cdrom i.e. /dev/cdrom. I wanted to know that is there any command that will tell me which /dev/ file was associated with external dvdrom? i tried to see in the following result
1) df -h ( no results, just the already mounted partitions)
2) fdisk -l ( same as above)
3) dmesg | tail (shown almost the same result as was shown on shell at the time of plugging the dvd)
View 9 Replies
View Related
Mar 26, 2011
I tried this command to print the buffer of an existing screen session to stdout but I don't know why it doesn't print anything.
screen -x lftp -X hardcopy /dev/fd/1
screen -x lftp -X hardcopy /dev/stdout
It works if I use a regular file instead, so why doesn't it print to stdout when I use /dev/fd/1? I do this with other applications don't have an option to write to stdout and it works, so what does GNU/Screen do that makes it not work?
View 1 Replies
View Related
Aug 8, 2010
if there is a way to determine the external ip of other computers on a network. For example, if someone is sending malicious emails and you identify the ip that sent the email by looking at the original, is there a way from the terminal to figure out which computer on your network it was?
View 3 Replies
View Related
May 19, 2011
I am interested in sharing an external drive between two computers. I do not want to disconnect the drive from one and then connect it on the other one - I want to share it.
Would this work with an external USB drive and a normal USB hub? Or is it something more complicated/impossible?
Also connecting the machines via network is not possible - it has to be USB, or I can connect it to one machine also via Ethernet but the second connection has to be USB.
View 8 Replies
View Related
Jan 21, 2010
How do I configure permissions and ownership [aka, access control] for USB and other "media" drives? In general, I want the plain user to have read-write-modify access. For the long haul, I would prefer some sort of config table that says this media gets those access settings on an individual basis.
While on the subject of "media" drives, how do I configure where a drive gets mounted? It appears that the defaults is /media/someString where "someString" is either a generated string or the volume label. Is this accomplished by a script somewhere that I might modify or configure?
I login using my personal, non-root account. When I connect a USB or other "media" drive, the permissions and ownership are such that I cannot use the desktop tools to alter the drive contents. Also, I need to guess where a given drive contents can be found.
View 7 Replies
View Related
Jan 18, 2010
I've 2 computers (one at the job, one at home), different motherboard types but same chipset, having AM2 AMD CPUs but different clock speed. I don't have (I don't want to buy) internal hard disks for these computers.
I would like to buy one external USB HDD and install the latest Ubuntu. I will carry this HDD to my job and my home. Is it possible to use this HDD as boot HDD on both computer? Even they are not same just similar? Is this a problem for Ubuntu?
View 7 Replies
View Related
Jan 25, 2010
I've installed Linux to a portable hard drive with the assumption that I would be able to transfer that hard drive to my other computers and be able to boot into Linux from them. I know for a fact that these computers are capable of running the same linux installed on the portable HDD via LiveCD or LiveUSB flash drive.
However, when I try to start my portable hard drive on any computer other than the one I installed it on, it boots to a black screen and stays that way indefinitely.
So, I would like to know how to make my portable hard drive more versatile, and to automatically adapt to different computers during boot.
View 6 Replies
View Related
Jul 27, 2011
I wanted to know whether its possible to prevent some user from playing mp3/any other media files, using the chmod command? Are the read and execute bits meant only for text/office files?
View 6 Replies
View Related
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
Dec 8, 2010
A week ago I purchased an VPS. The first few days I was having trouble to set up an outgoing connection on the VPS. Eventually it turned out to be some misconfiguration of the server where the VPS is hosted on.Since then I have installed the apache server, but I'm still not able to access the apache server from an external computer. I already have contacted the provider, but they haven't replied yet. To speed things up I was hoping someone could check my configuration to be sure nothing is wrong with it.To be sure I posted all configuration and information that I think would be important. Please contact me if you need more information.
View 2 Replies
View Related
Jul 20, 2015
I'm going traveling and I had the bright idea of putting my sensitive and irreplaceable files on an sd card. Then if I leave my stuff in a sketchy hostel for the day, I can easily take the card and might lose only a replaceable netbook. The problem is that I want some files to have 600 permissions (rw-------), readable and writable only by owner.
But no power on earth seems to be able to force a fuse-ified filesystem to pay attention. Whether I try "chmod 600 filename.txt" as the owner/user or as sudo makes no difference. Nothing works. The sd card is mounted with a line in /etc/fstab:
Code: Select allUUID=0000-0000 /mnt/64_GB_sdxc exfat auto,rw,user,exec,uid=1000,gid=1000,dmask=0022,flush,fmask=133 0 0
So the user owns the files and they have typical permissions instead of the automounted default of 700. That's all very nice, but I'd like to be able to change permissions on just a few files!
View 3 Replies
View Related
Jul 11, 2011
When I insert a CD/DVD, it is auto-mounted in /media, but the folder beneath /media has permissions of 500. This is a pain when sharing the drive over the network using CIFS. Anyone know how to change the auto-mount permissions to 555?
This is in Ubuntu 10.10
View 8 Replies
View Related
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
May 25, 2010
I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:
[Code]...
View 3 Replies
View Related
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
Sep 2, 2010
I am trying to access an external hard drive mounted on /media/disk_label/ over FTP anonymously. The thing is it does not work as intended.
I tried fiddling with se-linux, manually mounting the media, playing around with file permissions and stuff .. but nothing sufficed.
Things work fine when I set anon_root to a directory on the local hdd but and also with the default /var/ftp but as soon as I set anon_root=/media/disk_label/ftp ..
View 1 Replies
View Related
Jan 29, 2010
How can I unzip file/folder in a way that it sets permissions of my choice to the unzipped contents instead of setting them for root:root?
View 2 Replies
View Related