Ubuntu :: Adjust Permissions For Folders And Files On NTFS USB Drive?

May 21, 2010

First off I want to apologize for the fact that the first several paragraphs go into something seemingly unrelated to the subject of this thread. However I want to be sure that those who choose to lend me a hand understand where I'm coming from and why I'm asking that question.I just recently switched from Windows Vista to Ubuntu 10.04. So far I've been loving it mostly. But their is one oddball thing I haven't been able to get working. That is a pair of shared folders located on my NTFS external drive connected via USB2.

The drive was automatically mounted on first boot and has full read/write access for owner (which is my username) right out of the gate. For this reason I assumed I would be good to do this.I've been unable to get it working in Ubuntu. As it stands now I've manually added them to smb.conf, added them to the Samba Server Configuration and finally by right clicking the folder in nautilus and choosing Sharing Options. All with varying resultsAt best it will show the shares under the computer but not allow access. I've also cleared out all of these for those folders to try them individually or in different orders. What I found was that using Sharing Options first gives this error and sets nothing up. But either of the other two will at least show the share albeit with no access.

Quote:'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.What I've discovered is that if I use just the Sharing Options from Nautilus on any folder located on my ext4 partition or the internal NTFS partition then it will ask if applicable to adjust the permissions and though nothing appears in smb.conf that it works more or less just fine.Having played with "ls -l" I discovered that by default that ownership of the folders on the external NTFS is set to myself and that permissions are 700. On the ext4 partition ownership is set to myself and permissions on folders 711. The folders on the internal NTFS partition has an ownership of "root" and permissions set to 777

From here I tried to use "sudo chmod" via a terminal to manually change permissions for folders on all 3 partitions and I can do so for the ext4 and the internal NTFS owned by root. But no matter what I cannot for the external NTFS.The main thing is I want to know why I can't adjust those permissions on the external. I'm convinced that something to do with the way USB drives work by default must be impacting this but I could not find a single thing anywhere to confirm this much less to offer a solution.The second thing is that I installed and used mountmanager to automatically mount the internal NTFS and according to that softwares options the setup for both it and the external NTFS are the same. But if that is true then why is the external owned by me and the internal by root and the resulting permissions are completely different?

View 4 Replies


ADVERTISEMENT

Fedora :: Trash Does Not Show My Files/folders I Moved From NTFS Windows Drive

May 25, 2011

I am an Ubuntu refugee. Allow me to explain what happened. I am dual booting with Windows 7 and F15 x64.

(1) I wanted to created a shortcut of my "Documents" folder in my Windows in Nautilus
(2) I opened the Windows drive by double clicking the drive under Devices, and navigated to my "Documents" folder (F15 already has ntfs-3g installed so no hassles there)
(3) I then dragged the folder to the sidebar to place it under the Trash icon--but for some reason, it would not let me do this, and accidentally got placed in the Trash bin.
(4) problem is I can't see this folder in the Trash bin (it is not even hidden)
(5) To check if the Trash bin actually captures items when we move files/folders to Trash, I tried sending a folder from my Home directory to Trash, and the folder appears in the Trash; it can even be restored to Home.
(6) Only files/folders from the NTFS formatted Windows drive do not appear in the Trash folder if sent there.
(7) I have Google searched this problem, but to no avail.
(8) I even thought that because the drive is not mounted 'officially' I would mount it using command line:

Code:

(9) But still I can't see the folders in the Trash
(10) Interestingly, when I try to unmount the Windows drive 'formally' then I get a message if I want to "empty the Trash"--I obviously chose not to--so I know there is my Windows Documents folder in there somehere.

View 2 Replies View Related

OpenSUSE :: Change Permissions For NTFS Folders Based On Users

Nov 11, 2010

I'm a new openSUSE user. I want to make an account for my cousin, but we want our NTFS folders (from the dual WIndows XP install) inaccessible to each other. Problem is that, if I've read well in other searches, permissions can't be applied to NTFS (only the power to write, not only read, the whole partition). I know this can be done in Ubuntu, so I don't find a reason not to be able to do it, and I think my fault is that I'm using KDE (which I like more now, by the way) instead of GNOME.

View 9 Replies View Related

Ubuntu :: NTFS External Drive - Disappearing Folders

Jul 12, 2010

I'm using an external hard drive formatted to NTFS to keep my projects on. I edit projects from both Ubuntu and Windows XP.

After editing some files in a couple of folders on the drive I have now noticed that any Ubuntu machine I plug the drive into can see the entire contents of the drive, but now, I have 4 folders that do not appear in Windows XP. I have plugged the drive backwards and forwards between three machines now (one of them dual boot) and Ubuntu definitely finds the folders and Windows definitely doesn't. This has only happened one Ubuntu has edited files, though some of the files and folders that have been edited are still visible in XP.

I presume something went wrong whilst writing file tables or whatever they are called these days. Does anybody know how I can get the folders visible in XP again? Do I need to run something in Ubuntu or in XP to 'rescan' the drive?

View 3 Replies View Related

Ubuntu :: Mount An NTFS Drive With Full Permissions?

Jul 22, 2010

The issue I am having is that Virtual Box does not recognize my USB drives. I understand that it is related to the fact that Ubuntu cannot recognize the permissions on the USB NTFS drive. So how do I mount the ntfs drive and gain full permissions?

One post suggested that I have to join my user to the 'vbuser' group in users and groups to fix this in 9.04, but I do not have a "vbuser" group in my list of groups. I am running 10.04.

View 2 Replies View Related

Ubuntu :: NTFS Folders But Not Files Appearing?

Jul 6, 2010

I recently had a Windows Vista laptop crash and burn because of some damage done to all the lovely files Windows cannot boot without. Since my computer cannot boot from USB normally I used PloP Bootmanager to get it to boot from a live Ubuntu image on a USB stick.Before I install Ubuntu, I want to recover some of my files sitting on the disk, and the partitions seem to mount in the GUI- I can see them, I can click mount or unmount and it responds. The trouble is that while I can see all of the folders on the Windows partition: Program Files, Documents and Settings, etc. I can't see any of the actual files. The disk itself is reported to have data on it- even Ubuntu recognizes it's almost full, but every folder has 0 files with the exception of /media/[A particular character string] which has three boot-related files. This is true whether I use bash as root or not. I've tried mounting to a different point and remounting via the terminal using ntfs-3g and editing the fstab file to recognize the parition with full permissions, but nothing seems to work.

View 5 Replies View Related

Ubuntu Security :: Set Permissions For NEW Files And Folders

Mar 14, 2011

I have a shared partition on Ubuntu, 'dm-6', if I create a new folder in it, it has 'teocomi' as owner.If I create the folder from another (windows) PC the owner is 'nobody' and from Ubuntu I have to chmod/chown it in oredr to edit its content...Is there a way to set automatically permission and owner for newly created folders and directories?

I tryed with:

Code:

sudo chmod u+s -R /media/dm-6

View 5 Replies View Related

Ubuntu :: Auto Mounting Ntfs Drive With Execute Permissions?

May 10, 2011

Current when my NTFS external drive is auto mounted, I can't run any executables from it.

If I unmount it and then manually do:

sudo mkdir /media/portable
sudo ntfs-3g /dev/sdc1 /media/portable

it works fine. Is there a way to make the auto-mount have "full" access so I can run applications from it?

View 2 Replies View Related

Server :: Permissions On New Files / Folders?

Apr 26, 2010

I have a Samba share set up on a SUSE server that about 30 Windows XP clients are connecting to on a daily basis. They connect using Winbind and their Active Directory usernames and passwords which are stored on a Windows small business server (Server 2003). The share is called "company" and it's right off the root of the partition. Within "company" there are about 75-100 folders, most of which need to be publicly available and publicly writeable. There are a few that need to be locked down to a certain group of people so I've used group membership and access control lists for those.

The permissions on new files/folders still aren't right though, so I'll just try to explain what I WANT rather than trying to resolve what is HAPPENING since I think that'll be easier. Currently the entire company directory and all subdirectories and files are user-owned by "administrator" (an active directory domain admin). I'd like new folders and files created anywhere in that directory or any subdirectory to maintain that ownership by administrator, regardless of who creates them.

Likewise, the entire directory and all subdirectories/files are group-owned by "domain users" (a builtin active directory group which is pulled in via winbind) which gives everyone write access to everything. I'd like that ownership to be maintained as well on any new files or folders created in /company or any subdirectory therein. I think this is working for the most part as I've set the setgid bit on company. I'd like any files or folders created in /company or any subdirectory therein to have 770 permissions (rwxrwx---).

So, what I want is regardless of who creates a file or folder anywhere in "company" - it should be owned by user "administrator" and group "domain users" and have 770 permissions. I'd like to make a little tweak to this post. Above I said I wanted anything created under Company to be created with group owner "domain users" - that actually only goes for anything that will be public. On the folders I have locked down via group membership and ACLs the new files/folders created within should maintain ownership of whatever group owns that directory. I should be able to do this by setting rwxrws--- permissions on secured directories.

View 2 Replies View Related

Ubuntu :: Apply User Permissions To Not Just Folders But Also All Files

Jan 19, 2010

I want to add my daughter as a user and give her full permissions to all the same folders and files that I use. I have given her permission to folders and their sub folders however she doesn't have rwx on the individual files within the folders. What is the command line to set this up?

Also with the command;

Code:
chown -R root:root files

what is the -R for and when do I need or not need it?

View 4 Replies View Related

Ubuntu :: Change Permissions On Root Folders And Files

Jun 14, 2010

I need to change the config in a folder and can not due to it being owned by root. How do I change the permissions.

Folder = /etc/stunnel/
file = /etc/stunnel/stunnel.conf

View 4 Replies View Related

Ubuntu :: Can't Change The File Permissions Of Files And Folders

Nov 17, 2010

I've just read that I can't change the file permissions of files and folders if they are sitting in what was my old Windows D: drive. Is this correct? If so what is the work-around?

I don't want to have to cut and paste that entire D: drive's contents over to a recognised Ubuntu folder. I had in my mind that this D drive would continue to be my data dumping ground, to which I need read/write access to.

View 8 Replies View Related

Ubuntu Security :: Accessing NTFS-encrypted Files And Folders?

May 14, 2010

After trying Truecrypt, LUKS, and Ecryptfs I decided to try NTFS encryption. Now, on a dual boot computer from Ubuntu I can browse the encrypted folders but can not open the encrypted files. All attempts produce access denials yet the Unix file permissions appear to be "0777" (owner, group, and world readable-writable).

Is there someway to get Ubuntu's NTFS software to recognize and decrypt the encrypted files? Would a different NTFS package work such as NTFS-3g?

View 2 Replies View Related

Server :: RHEL 5 - How To Set Permissions On Files / Folders

Jul 1, 2010

I am using RHEL 5 on my server. The client machines are windows XP.File sharing is through samba server which is working okay. On this file server there is a shared directory for users. This directory contains files which are used by various users through oracle APP. and DB server.

At present the folders under the "shared" folder are having all permissions i.e. 777. To restrict certain things, I want that users may read and modify the files but may not be in a position to move or delete the files. How to set the permissions on the folders/files in this scenario?

View 1 Replies View Related

Programming :: Test Permissions On All Files / Folders Into A Folder Recursive?

May 16, 2010

Way to test permissions on all files/folders into a folder recursive, then if those are not user:user then do :

Code:
chown user:user thatconcernedfile

The problem with that

Code:
chown user:user -R /folder

is that it is doing changes on file permissions whihch are already ok. If you wanna maintain a specific permission on a folder this is really not good this :

Code:
while [ 1 ] ; do
chown user:user -R /folder
# /folder contains 6.0 Tb
sleep 2s
done

View 1 Replies View Related

Ubuntu :: Delete Folders Or Files On NTFS Partition Not A Option To Move To Waste Basket

Nov 24, 2010

10.10 on a ext4 partition. I deleted a folder that sat on a NTFS partition that I use as data storage. I note that if I delete folders or files on this NTFS partition there is not the option to move to waste basket - it is just deleted. If the folder still exists on the hard drive (has not been over written) I may be able to retrieve it - but where could it be? On the NTFS partition?

View 2 Replies View Related

Debian :: Default Ownership Of Folders And Files - Should Own By A User Without Root Permissions

Feb 12, 2011

Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?

View 12 Replies View Related

General :: Setting Permissions For Group Permanently For Future Files And Folders?

Jul 19, 2010

I would like to set both user and group permissions permanently to be 'rwx' (read-write-execute). I would like these rwx settings for all the future files and folders.

I tried umask 002, chmod etc, but they don't set it for future files.

View 3 Replies View Related

Ubuntu :: Recover Files After Formatted Drive To NTFS With Windows

Apr 3, 2011

I accidentally formatted a drive that was ext4 to NTFS in Windows (using quick format only). I tried TestDisk, it does find a deleted partition but doesn't seem to find any files or be able to recover anything. Is there any way I can recover the files?

View 1 Replies View Related

Ubuntu :: Hhd Format Error \ Unable To Read The Folders Or Files In The Drive?

Jan 15, 2010

i was trying to format one drive, accidentally formated another, told the format process to stop, and i'm unable to read the folders or files in the drive. i see some greek, odd symbols... But cant open the folders.

View 8 Replies View Related

Fedora :: Recover Deleted Files From NTFS Drive?

Apr 25, 2010

I need to recover deleted files from a NTFS drive. The OS has been re-installed by accident. any tools that will allow me to see if there is anything that can be recovered.

View 5 Replies View Related

Hardware :: NTFS Drive Failing While Recovering Files

May 19, 2010

I have an external drive that has been formatted as NTFS and I need to recover the files. For the most part, on windows, I can read the drive however When I'm copying, it interrupts with an I/O failure. Is there a way to copy the files from Linux and have it continue even if it has an error?

View 3 Replies View Related

Ubuntu :: Access Files On The Internal Laptop XP Drive Which Has Been Imaged As NTFS?

Jun 20, 2011

I have an XP laptop which I booted up using an Ubuntu live CD.When I'm in Ubuntu, is there a way that I can access files on the internal laptop XP drive which has been imaged as NTFS? I thought there might be an option through places=>computer, but couldn't see a way.

View 2 Replies View Related

CentOS 5 Networking :: Get Samba To Share Files From Ntfs Drive?

Jun 12, 2009

The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?

View 3 Replies View Related

Hardware :: USB Hard Drive Not Reading / All Files And Folders In Partition Disappeared?

Jun 23, 2011

I have been backing up onto a 60G ext2/3/4 partition on a 1TB external USB hard disk for a year or so now and have built up a few folders of .thunderbird, .mozilla, and other assorted files - using this as my standard "backup system" - but suddenly all the files and folders in this partition seem to have disappeared.

In Gparted and KParted the partition shows up as the correct size with the correct amount of "used space" (= yellow coloured portion), as it does when running offof any CD/standalone OS. And the small bars under the volume names in Dolphin show about the right amount having been "used" too.But however I try to access this partition (or, to be correct LVM I spose:-)) it still always comes up as empty - ie 0 files in it. After months of working just fine.The NTFS partition on the same external USB sdd reads and writes quite OK/normally and also shows the correct amount of "used space" - but even from root I can't see any of the old files in, or read/write to the linux one. It comes up with "Denied"/"Can't Write to.." errors when trying to write anything to it.

I ran a freeware utility called DiskInternals Linux-Recovery from winDoze which, after half an hour, came up with a list showing all the folders and files in the partition. It said that they would be written back onto the hard drive that they were "retrieved" from - but no change happened - still no contents showing when booting up in any linux.

Running a clean install of FedoraCore14 on an AMDAthlonx2 5000 (= 2.6G true) on an ASUS M2N-MX SE PLUS m/b with 2G of RAM

View 10 Replies View Related

General :: Recover Deleted Files From [formatted] FAT32/NTFS Drive?

Aug 22, 2011

Is there like EasyRecovery for Linux? Free open source command-line based software strongly preferred.Expecting something like:

$ fat32_recovery --some-arcane-options dump.img dir/
Recovery in progress...
~ILE1.TXT -> dir/XILE1.TXT

[code]....

View 1 Replies View Related

OpenSUSE Hardware :: Failure Mounting External NTFS Drive And Internal NTFS Partition / Fix This?

Jul 18, 2010

Just installed 11.3 on my computer, however when I connect an external NTFS harddisk I receive an error message. When I open dolphin to connect to an internal NTFS partition I receive the message:

org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org. freedesktop.hal.storage.mount-fixed auth_admin_keep_always <--

Anyone having an idea how I can fix this?

View 9 Replies View Related

Ubuntu :: Star Dot Star - *.* - All Files On My NTFS Usb Back-up Drive

Apr 9, 2010

In windows if i want to see/search for ALL files i go to the search app and type in *.* (star dot star). what is the procedure in linux/ubuntu? what command is it? i want to see ALL files on my NTFS usb back-up drive.

View 9 Replies View Related

Ubuntu :: Edit Permissions Of /usr Folders?

Jun 6, 2010

How to copy and overwrite original bookmarks.adr file to /usr/share/opera/default folder. I can't change permission. Or if is a way to copy it as root ...

View 3 Replies View Related

Ubuntu Installation :: NTFS Partition With Encrypted Folders?

May 13, 2011

I used Windows XP's encryption to encrypt some folders on an NTFS Hard Drive.Upon mounting this drive in ubuntu, I can see all folders, and all file names, but I cannot open the contents of the encrypted files, getting "Permission Denied" despite all permissions being -rwxrwxrwx.Is there a way to open these from linux? I know the Windows XP login / encryption password.

View 3 Replies View Related







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