필터 지우기
필터 지우기

why does the 'fattrib' do not impact any changes in the folder permissions in 'Windows' ?

조회 수: 4 (최근 30일)
I am using 'fattrib' to make my folder writable. When i type the command, i get the following. ------------------------------------------------------
Name: 'D:\TestFolder'
archive: 0
system: 0
hidden: 0
directory: 1
UserRead: 1
UserWrite: 1
UserExecute: 1
GroupRead: NaN
GroupWrite: NaN
GroupExecute: NaN
OtherRead: NaN
OtherWrite: NaN
OtherExecute: NaN
Which means that, my folder is now writable and the "Read-Only" attribute is removed/de-selected.
But, when i check in windows, i see this
The changes which i made in MATLAB is not reflected in Windows.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 4월 25일
fileattrib('D:\TestFolder', '+w', '', 's')
  댓글 수: 1
Sriharsha
Sriharsha 2016년 4월 25일
i used the same command
fileattrib('D:\TestFolder', '+w', '', 's')
But still, the same response. There is no impact on Windows side.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by